| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-25 19:03:04 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-25 19:03:04 UTC |
| parent | 15d8adf71c729eb428650bf42f172b8a642182b8 |
| snikket/Chat.hx | +10 | -0 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index 7bbbb10..ce22088 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -1068,6 +1068,16 @@ class Channel extends Chat { persistence.lastId(client.accountId(), chatId, doSync); } + @:allow(snikket) + override private function getCaps():KeyValueIterator<String, Caps> { + return { + hasNext: () -> false, + next: () -> { + return { key: "", value: null }; + } + }; + } + override public function setPresence(resource:String, presence:Presence) { final oneTen = presence?.mucUser?.allTags("status").find((status) -> status.attr.get("code") == "110"); if (oneTen != null) {