diff options
-rw-r--r-- | plugins/otr.py | 2 | ||||
-rw-r--r-- | src/connection.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/otr.py b/plugins/otr.py index 3942bcd8..2d59d544 100644 --- a/plugins/otr.py +++ b/plugins/otr.py @@ -347,6 +347,8 @@ class PoezioContext(Context): mbody=msg.decode('ascii'), mtype='chat') message.enable('carbon_private') + message.enable('no-copy') + message.enable('no-permanent-store') message.send() def setState(self, newstate): diff --git a/src/connection.py b/src/connection.py index b3bf00e3..afeb5189 100644 --- a/src/connection.py +++ b/src/connection.py @@ -161,6 +161,7 @@ class Connection(slixmpp.ClientXMPP): self.register_plugin('xep_0280') self.register_plugin('xep_0297') self.register_plugin('xep_0308') + self.register_plugin('xep_0334') self.init_plugins() def set_keepalive_values(self, option=None, value=None): |