From 1db94905ae7af1c1aed475a090dfb09e59fb2520 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 23 Apr 2020 16:07:34 +0200 Subject: [PATCH] Fix runtime critical from read marker sending (fixup 3a8fef7) --- libdino/src/service/chat_interaction.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;