Use message processing hints in the OTR plugin

This commit is contained in:
mathieui 2016-06-04 19:37:57 +02:00
parent 8a491f250d
commit 1ced580551
2 changed files with 3 additions and 0 deletions

View file

@ -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):

View file

@ -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):