| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-06-25 15:48:29 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-06-25 15:48:29 UTC |
| parent | 58b04ca6ac5b5ce0f20c0b581f5a1a11fd5d6ed0 |
| snikket/Client.hx | +1 | -1 |
diff --git a/snikket/Client.hx b/snikket/Client.hx index 3adb2ca..cff1304 100644 --- a/snikket/Client.hx +++ b/snikket/Client.hx @@ -377,7 +377,7 @@ class Client extends EventEmitter { }); sendQuery(vcardGet); } else { - this.trigger("chats/update", [chat]); + if (chat.livePresence()) this.trigger("chats/update", [chat]); } }); }