Use message processing hints in the OTR plugin
This commit is contained in:
parent
8a491f250d
commit
1ced580551
2 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue