diff options
author | fiaxh <git@lightrise.org> | 2019-12-23 21:53:45 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-12-24 01:46:01 +0100 |
commit | f58119f25e42da7a21e2c4324b305cc8c5fb6760 (patch) | |
tree | dd90ba816025d07ebdcfe818538b8d0d8996d186 /xmpp-vala | |
parent | 1d1682a357b6ab1ac709160560b43c23ee7163b5 (diff) | |
download | dino-f58119f25e42da7a21e2c4324b305cc8c5fb6760.tar.gz dino-f58119f25e42da7a21e2c4324b305cc8c5fb6760.zip |
Don't show own typing notifications (other devices)
fixes #669
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0085_chat_state_notifications.vala | 3 |
1 files changed, 1 insertions, 2 deletions
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<StanzaNode> 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); } } |