diff options
author | fiaxh <git@lightrise.org> | 2019-11-13 16:41:42 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-11-17 17:33:24 +0100 |
commit | 8f0fe374023e937f6f3d17412d7f9f110791deac (patch) | |
tree | 659d082acdede1497cb18544b287074cfba310df /libdino/src/service/chat_interaction.vala | |
parent | 2811eaf7c506f0147ac41bd12500502d733cba93 (diff) | |
download | dino-8f0fe374023e937f6f3d17412d7f9f110791deac.tar.gz dino-8f0fe374023e937f6f3d17412d7f9f110791deac.zip |
Don't attempt jingle file transfers in MUCs
Diffstat (limited to 'libdino/src/service/chat_interaction.vala')
-rw-r--r-- | libdino/src/service/chat_interaction.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdino/src/service/chat_interaction.vala b/libdino/src/service/chat_interaction.vala index 44a78b3e..f4aaa02e 100644 --- a/libdino/src/service/chat_interaction.vala +++ b/libdino/src/service/chat_interaction.vala @@ -196,6 +196,8 @@ 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 + switch (marker) { case Xep.ChatMarkers.MARKER_RECEIVED: if (stanza != null && Xep.ChatMarkers.Module.requests_marking(stanza)) { |