no-store hint
This commit is contained in:
parent
b538fa106e
commit
7bbff365ad
1
otr.py
1
otr.py
|
@ -176,4 +176,5 @@ class OTR(context.Account):
|
||||||
event.encrypted, event.additional_data["encrypted"] = OTR.ENCRYPTION_NAME, {"name":OTR.ENCRYPTION_NAME} # some mandatory encryption flags
|
event.encrypted, event.additional_data["encrypted"] = OTR.ENCRYPTION_NAME, {"name":OTR.ENCRYPTION_NAME} # some mandatory encryption flags
|
||||||
if channel.resource:
|
if channel.resource:
|
||||||
event.stanza.addChild('no-copy', namespace='urn:xmpp:hints') # don't send carbons
|
event.stanza.addChild('no-copy', namespace='urn:xmpp:hints') # don't send carbons
|
||||||
|
event.stanza.addChild('no-store', namespace='urn:xmpp:hints') # don't store in MAM
|
||||||
callback(event)
|
callback(event)
|
||||||
|
|
|
@ -17,5 +17,5 @@
|
||||||
"gajim>=1.6,<1.9"
|
"gajim>=1.6,<1.9"
|
||||||
],
|
],
|
||||||
"short_name": "otrplugin",
|
"short_name": "otrplugin",
|
||||||
"version": "0.5.1"
|
"version": "0.5.2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue