diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-04 19:37:57 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-04 19:37:57 +0200 |
commit | 1ced5805514f853145891ae591aa9a0a5c8b84ad (patch) | |
tree | 6915b8e7d29fd596701168123ddc984e0a4164e2 | |
parent | 8a491f250d5e58e23d3d4d54ad353dbe97bdf06a (diff) | |
download | poezio-1ced5805514f853145891ae591aa9a0a5c8b84ad.tar.gz poezio-1ced5805514f853145891ae591aa9a0a5c8b84ad.tar.bz2 poezio-1ced5805514f853145891ae591aa9a0a5c8b84ad.tar.xz poezio-1ced5805514f853145891ae591aa9a0a5c8b84ad.zip |
Use message processing hints in the OTR plugin
-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): |