changeset 9993682cbf09 in /home/hg/repos/gajim-plugins

author: Daniel Gultsch <[email protected]>
branches: 
details:gajim-plugins?cmd=changeset;node=9993682cbf09
description: add correct namespace to devicelist payload

diffstat:

 omemo/xmpp.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 358ac30de104 -r 9993682cbf09 omemo/xmpp.py
--- a/omemo/xmpp.py     Mon May 23 10:36:41 2016 +0200
+++ b/omemo/xmpp.py     Sun Jun 05 01:52:08 2016 +0200
@@ -63,7 +63,7 @@
         attrs = {'id': id_}
         Iq.__init__(self, typ='set', attrs=attrs)
 
-        list_node = Node('list')
+        list_node = Node('list', attrs={'xmlns': NS_DEVICE_LIST})
         for device in device_list:
             list_node.addChild('device').setAttr('id', device)
 
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to