Fix chat marker sending

This commit is contained in:
fiaxh 2019-12-16 17:10:10 +01:00
parent 890b91ce4d
commit 62be692c02

View file

@ -196,7 +196,7 @@ public class ChatInteraction : StreamInteractionModule, Object {
XmppStream? stream = stream_interactor.get_stream(conversation.account); XmppStream? stream = stream_interactor.get_stream(conversation.account);
if (stream == null) return; 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) { switch (marker) {
case Xep.ChatMarkers.MARKER_RECEIVED: case Xep.ChatMarkers.MARKER_RECEIVED: