Skip to content

Commit

Permalink
No presence sub for MUC, Open is as close as we get to trusted
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma committed Nov 27, 2024
1 parent 8dc4670 commit 7114f57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snikket/Chat.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,10 @@ class Channel extends Chat {
sync.fetchNext();
}

override public function isTrusted() {
return uiState != Closed;
}

@:allow(snikket)
private function refreshDisco(?callback: ()->Void) {
final discoGet = new DiscoInfoGet(chatId);
Expand Down

0 comments on commit 7114f57

Please sign in to comment.