| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-09-21 15:14:39 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-09-21 15:15:31 UTC |
| parent | 7b5bd51434020fae6b30b79e6982717fcb6022f0 |
| borogove/Client.hx | +2 | -0 |
diff --git a/borogove/Client.hx b/borogove/Client.hx index fd19b8a..d9a7fce 100644 --- a/borogove/Client.hx +++ b/borogove/Client.hx @@ -1104,6 +1104,7 @@ class Client extends EventEmitter { channel.inSync = channel.self != null && channel.sortId != null; if (!channel.inSync) channel.join(); } + firstSync = false; } stream.emitSMupdates = true; @@ -1138,6 +1139,7 @@ class Client extends EventEmitter { trace("SYNC: details"); inSync = true; + firstSync = false; persistence.getChatsUnreadDetails(accountId(), chats).then((details) -> { for (detail in details) { var chat = getChat(detail.chatId) ?? getDirectChat(detail.chatId, false);