| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-11-19 20:02:22 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-11-19 20:02:22 UTC |
| parent | e2f4895a6703d2f1b609872b8672e07f1e88cf89 |
| snikket/Chat.hx | +1 | -1 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index 79d692c..c40e39f 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -972,7 +972,7 @@ class Channel extends Chat { } super.setPresence(resource, presence); final tripleThree = presence?.mucUser?.allTags("status").find((status) -> status.attr.get("code") == "333"); - if (!inSync && oneTen != null) { + if (!inSync && sync == null && oneTen != null) { persistence.lastId(client.accountId(), chatId, doSync); } if (oneTen != null && tripleThree != null) {