aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-12-16 17:10:10 +0100
committerfiaxh <git@lightrise.org>2019-12-16 17:13:59 +0100
commit62be692c02ab6ebc1ce6b77ec3bd6739d9e91eb8 (patch)
tree99883e9cecfbb0da237ab831e0ec87a749859857 /libdino/src/service
parent890b91ce4d968f838b46686295883500eba55c78 (diff)
downloaddino-62be692c02ab6ebc1ce6b77ec3bd6739d9e91eb8.tar.gz
dino-62be692c02ab6ebc1ce6b77ec3bd6739d9e91eb8.zip
Fix chat marker sending
Diffstat (limited to 'libdino/src/service')
-rw-r--r--libdino/src/service/chat_interaction.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/chat_interaction.vala b/libdino/src/service/chat_interaction.vala
index f4aaa02e..566eac7e 100644
--- a/libdino/src/service/chat_interaction.vala
+++ b/libdino/src/service/chat_interaction.vala
@@ -196,7 +196,7 @@ public class ChatInteraction : StreamInteractionModule, Object {
XmppStream? stream = stream_interactor.get_stream(conversation.account);
if (stream == null) return;
- if (message.stanza_id != null) return; // Need a stanza id to mark
+ if (message.stanza_id == null) return; // Need a stanza id to mark
switch (marker) {
case Xep.ChatMarkers.MARKER_RECEIVED: