commands: restart dialog sync on command

This commit is contained in:
Tulir Asokan
2026-03-19 16:15:44 +02:00
parent 800c15f7b7
commit 64724aa654
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ func (bl *baseLogin) finalizeLogin(
err := client.clientInitialized.Wait(bgCtx)
if err != nil {
log.Err(err).Msg("Failed to wait for client init to sync chats after login")
} else if err = client.syncChats(log.WithContext(client.clientCtx), 0, true); err != nil {
} else if err = client.syncChats(log.WithContext(client.clientCtx), 0, true, false); err != nil {
log.Err(err).Msg("Failed to sync chats")
}
}()