changeset b54dcc7fc6bf in /home/hg/repos/gajim-plugins
author: Daniel Gultsch daniel@gultsch.de branches: details:gajim-plugins?cmd=changeset;node=b54dcc7fc6bf description: add store hint to outgoing omemo messages
diffstat:
omemo/xmpp.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r b5f8140373d3 -r b54dcc7fc6bf omemo/xmpp.py --- a/omemo/xmpp.py Tue May 10 17:20:49 2016 +0200 +++ b/omemo/xmpp.py Mon May 23 09:53:14 2016 +0200 @@ -38,6 +38,7 @@ NS_DEVICE_LIST = NS_OMEMO + '.devicelist' NS_NOTIFY = NS_DEVICE_LIST + '+notify' NS_BUNDLES = NS_OMEMO + '.bundles:' +NS_HINTS = 'urn:xmpp:hints' log = logging.getLogger('gajim.plugin_system.omemo')
@@ -85,6 +86,8 @@ header.addChild('iv').addData(b64encode(msg_dict['iv'])) self.addChild(node=header) self.addChild('payload').addData(b64encode(msg_dict['payload'])) + store = Node('store', attrs={'xmlns' : NS_HINTS}) + self.addChild(node=store)
class BundleInformationQuery(Iq):