From e2e3dc7bd4f18eef6e22510efec9da25a8d65095 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Wed, 20 Sep 2023 19:48:48 +0300 Subject: [PATCH] no-store hint --- otr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/otr.py b/otr.py index c57c2d4..7f76e09 100644 --- a/otr.py +++ b/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 if channel.resource: 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)