Skip to content

Commit

Permalink
Fix not getting history for MUC
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma committed Jun 24, 2024
1 parent 8bb1d4a commit 3918bfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion snikket/Chat.hx
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,6 @@ class Channel extends Chat {

@HaxeCBridge.noemit // on superclass as abstract
public function getMessages(beforeId:Null<String>, beforeTime:Null<String>, handler:(Array<ChatMessage>)->Void):Void {
return;
persistence.getMessages(client.accountId(), chatId, beforeId, beforeTime, (messages) -> {
if (messages.length > 0) {
handler(messages);
Expand Down

0 comments on commit 3918bfd

Please sign in to comment.