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
@@ -54,7 +54,7 @@ func fnSync(ce *commands.Event) {
wg.Add(1)
go func() {
defer wg.Done()
if err := client.syncChats(ce.Ctx, 0, false); err != nil {
if err := client.syncChats(ce.Ctx, 0, false, true); err != nil {
ce.Reply("Failed to synchronize chats for %s: %v", login.ID, err)
}
}()