mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 11:06:21 +00:00
Only show UI events for chat states when in session
This commit is contained in:
@@ -486,7 +486,7 @@ _chat_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
|
||||
gboolean paused = xmpp_stanza_get_child_by_name(stanza, STANZA_NAME_PAUSED) != NULL;
|
||||
gboolean inactive = xmpp_stanza_get_child_by_name(stanza, STANZA_NAME_INACTIVE) != NULL;
|
||||
if (gone) {
|
||||
handle_gone(jid->barejid);
|
||||
handle_gone(jid->barejid, jid->resourcepart);
|
||||
} else if (typing) {
|
||||
handle_typing(jid->barejid, jid->resourcepart);
|
||||
} else if (paused) {
|
||||
|
||||
Reference in New Issue
Block a user