git » sdk » commit 52f563b

Mark chat as active immediately

author Stephen Paul Weber
2026-11-11 01:37:02 UTC
committer Stephen Paul Weber
2026-11-11 01:37:02 UTC
parent 4e36eb37254decd0df506338bab2f6b389ac2fb2

Mark chat as active immediately

borogove/Client.hx +2 -2

diff --git a/borogove/Client.hx b/borogove/Client.hx
index 03fd90c..05b5277 100644
--- a/borogove/Client.hx
+++ b/borogove/Client.hx
@@ -1629,9 +1629,9 @@ class Client extends EventEmitter {
 			channel.creationFormSubmission = submission;
 			channel.join();
 
-			chats.unshift(channel);
+			chats.push(channel);
 			chatsIndex[channel.chatId] = channel;
-			this.trigger("chats/update", [channel]);
+			chatActivity(channel);
 
 			return channel;
 		});