From f58119f25e42da7a21e2c4324b305cc8c5fb6760 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 23 Dec 2019 21:53:45 +0100 Subject: Don't show own typing notifications (other devices) fixes #669 --- xmpp-vala/src/module/xep/0085_chat_state_notifications.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmpp-vala') diff --git a/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala b/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala index 5a9b0914..7c1c9172 100644 --- a/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala +++ b/xmpp-vala/src/module/xep/0085_chat_state_notifications.vala @@ -48,8 +48,7 @@ public class Module : XmppStreamModule { if (!message.is_error()) { Gee.List nodes = message.stanza.get_all_subnodes(); foreach (StanzaNode node in nodes) { - if (node.ns_uri == NS_URI && - node.name in STATES) { + if (node.ns_uri == NS_URI && node.name in STATES) { chat_state_received(stream, message.from, node.name, message); } } -- cgit v1.2.3-70-g09d2