Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omemo/omemo_connection.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/omemo/omemo_connection.py b/omemo/omemo_connection.py
index 25cc228..b01517e 100644
--- a/omemo/omemo_connection.py
+++ b/omemo/omemo_connection.py
@@ -36,7 +36,9 @@ ALLOWED_TAGS = [('request', nbxmpp.NS_RECEIPTS),
('no-copy', nbxmpp.NS_MSG_HINTS),
('no-permanent-store', nbxmpp.NS_MSG_HINTS),
('replace', nbxmpp.NS_CORRECT),
- ('thread', None)]
+ ('thread', None),
+ ('origin-id', nbxmpp.NS_SID),
+ ]
log = logging.getLogger('gajim.plugin_system.omemo')
@@ -568,6 +570,7 @@ class OMEMOConnection:
stanza = nbxmpp.Message(
to=obj.msg_iq.getTo(),
typ=obj.msg_iq.getType())
+ stanza.setID(obj.stanza_id)
stanza.setThread(obj.msg_iq.getThread())
for tag, ns in ALLOWED_TAGS:
node = obj.msg_iq.getTag(tag, namespace=ns)