| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-11-27 18:51:22 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-11-27 18:51:22 UTC |
| parent | 8dc4670fc3d36b4c0418b109d81734800aa31f90 |
| snikket/Chat.hx | +4 | -0 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index ea9efdd..e808d64 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -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);