git » sdk » commit 3918bfd

Fix not getting history for MUC

author Stephen Paul Weber
2024-06-24 20:24:34 UTC
committer Stephen Paul Weber
2024-06-24 20:24:34 UTC
parent 8bb1d4ae18181e33b2c593cc05ec00ddbb6b09b1

Fix not getting history for MUC

snikket/Chat.hx +0 -1

diff --git a/snikket/Chat.hx b/snikket/Chat.hx
index add4521..6d8228a 100644
--- a/snikket/Chat.hx
+++ b/snikket/Chat.hx
@@ -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);