git » sdk » commit cfcc9c5

Sort creating channel to top, not by message it has none

author Stephen Paul Weber
2026-11-11 15:14:34 UTC
committer Stephen Paul Weber
2026-11-11 15:14:34 UTC
parent 24acff076a0e7805e0d7c36568d030752b452416

Sort creating channel to top, not by message it has none

borogove/Chat.hx +1 -2

diff --git a/borogove/Chat.hx b/borogove/Chat.hx
index 2bca0fd..e503318 100644
--- a/borogove/Chat.hx
+++ b/borogove/Chat.hx
@@ -1678,8 +1678,7 @@ class Channel extends Chat {
 			client.channelPinger.schedule(this);
 			persistence.storeChats(client.accountId(), [this]);
 			persistence.storeMembers(client.accountId(), chatId, [self]).then(_ -> trigger("members/update", [self]));
-			client.sortChats();
-			client.trigger("chats/update", [this]);
+			client.chatActivity(this);
 			persistence.syncPoint(client.accountId(), chatId).then((point) -> doSync(point));
 		});
 	}