diff options
author | fiaxh <git@mx.ax.lt> | 2017-08-16 11:44:42 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-08-17 01:26:03 +0200 |
commit | fb36ea055301b6db513a31acde30f315e2c0fd68 (patch) | |
tree | e9bfeecc12a3824e3b9a86abbed44856ef6dd1e0 /libdino/src/service/chat_interaction.vala | |
parent | 30818b3965aef36f161147881967006d6e9376a6 (diff) | |
download | dino-fb36ea055301b6db513a31acde30f315e2c0fd68.tar.gz dino-fb36ea055301b6db513a31acde30f315e2c0fd68.zip |
Message Archive Management
Diffstat (limited to 'libdino/src/service/chat_interaction.vala')
-rw-r--r-- | libdino/src/service/chat_interaction.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdino/src/service/chat_interaction.vala b/libdino/src/service/chat_interaction.vala index d7b8f839..3e8f4b24 100644 --- a/libdino/src/service/chat_interaction.vala +++ b/libdino/src/service/chat_interaction.vala @@ -124,6 +124,8 @@ public class ChatInteraction : StreamInteractionModule, Object { } private void on_message_received(Entities.Message message, Conversation conversation) { + if (Xep.MessageArchiveManagement.MessageFlag.get_flag(message.stanza) != null) return; + send_delivery_receipt(conversation, message); if (is_active_focus(conversation)) { check_send_read(); @@ -160,4 +162,4 @@ public class ChatInteraction : StreamInteractionModule, Object { } } -}
\ No newline at end of file +} |