chatsync: merge post-login and takeout syncs and refactor everything

This commit is contained in:
Tulir Asokan
2026-03-19 01:36:30 +02:00
parent b1b5745033
commit bfe5999951
10 changed files with 407 additions and 345 deletions
+1
View File
@@ -110,6 +110,7 @@ type TelegramClient struct {
takeoutAccepted *exsync.Event
stopTakeoutTimer *time.Timer
takeoutDialogsOnce sync.Once
syncChatsLock sync.Mutex
prevReactionPoll map[networkid.PortalKey]time.Time
prevReactionPollLock sync.Mutex