| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-10-20 03:29:49 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-10-20 03:29:49 UTC |
| parent | 941d99e3dcc2911adf425b4c1516b1648074ed04 |
| borogove/Client.hx | +2 | -2 |
diff --git a/borogove/Client.hx b/borogove/Client.hx index e0d0034..a3e012a 100644 --- a/borogove/Client.hx +++ b/borogove/Client.hx @@ -1223,9 +1223,9 @@ class Client extends EventEmitter { @param handler takes one argument, an array of Chats that were updated @returns token for use with removeEventListener **/ - private final updateChatBuffer: Map<String, Chat> = []; - private var updateChatTimer = null; public function addChatsUpdatedListener(handler:Array<Chat>->Void) { + final updateChatBuffer: Map<String, Chat> = []; + var updateChatTimer = null; return this.on("chats/update", (data: Array<Chat>) -> { if (updateChatTimer != null) { updateChatTimer.stop();