aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-04-23 16:07:34 +0200
committerfiaxh <git@lightrise.org>2020-04-24 14:18:24 +0200
commit1db94905ae7af1c1aed475a090dfb09e59fb2520 (patch)
tree3ae19551a2e97d117776e5d136d4d59c1f69086c
parente7bc68ad4d02b8e5f6ba26c0e917abf4d9ab2ccc (diff)
downloaddino-1db94905ae7af1c1aed475a090dfb09e59fb2520.tar.gz
dino-1db94905ae7af1c1aed475a090dfb09e59fb2520.zip
Fix runtime critical from read marker sending (fixup 3a8fef7)
-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 1e86ccf4..5b1a0a63 100644
--- a/libdino/src/service/chat_interaction.vala
+++ b/libdino/src/service/chat_interaction.vala
@@ -207,7 +207,7 @@ public class ChatInteraction : StreamInteractionModule, Object {
case Xep.ChatMarkers.MARKER_DISPLAYED:
if (conversation.get_send_marker_setting(stream_interactor) == Conversation.Setting.ON) {
if (message.type_ == Message.Type.GROUPCHAT) {
- if (message.stanza_id == null) return;
+ if (message.server_id == null) return;
stream.get_module(Xep.ChatMarkers.Module.IDENTITY).send_marker(stream, message.from.bare_jid, message.server_id, message.get_type_string(), Xep.ChatMarkers.MARKER_DISPLAYED);
} else {
if (message.stanza_id == null) return;