aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-05-11 19:10:36 +0200
committerfiaxh <git@lightrise.org>2019-05-11 20:01:20 +0200
commit9d19cdbf4ec5109f078193daf6ab55df6f69ec93 (patch)
tree5041b1ee8882d91412ff37b0b1c23e6693335974 /xmpp-vala/src/module
parentf4778ef3e66bda41831251c486e497075cb82d66 (diff)
downloaddino-9d19cdbf4ec5109f078193daf6ab55df6f69ec93.tar.gz
dino-9d19cdbf4ec5109f078193daf6ab55df6f69ec93.zip
Process read marker from other devices for MUCs to adjust read-up-to state
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r--xmpp-vala/src/module/xep/0333_chat_markers.vala1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0333_chat_markers.vala b/xmpp-vala/src/module/xep/0333_chat_markers.vala
index d5f46c43..257f6967 100644
--- a/xmpp-vala/src/module/xep/0333_chat_markers.vala
+++ b/xmpp-vala/src/module/xep/0333_chat_markers.vala
@@ -44,7 +44,6 @@ public class Module : XmppStreamModule {
public override string get_id() { return IDENTITY.id; }
private void on_received_message(XmppStream stream, MessageStanza message) {
- if (message.type_ != MessageStanza.TYPE_CHAT) return;
Gee.List<StanzaNode> nodes = message.stanza.get_all_subnodes();
foreach (StanzaNode node in nodes) {
if (node.ns_uri == NS_URI && node.name in MARKERS) {