Bugfix. Items need to go inside the list
This commit is contained in:
parent
c4ac73cc88
commit
4ed43854bd
@ -360,9 +360,10 @@
|
||||
'<pubsub xmlns="http://jabber.org/protocol/pubsub">'+
|
||||
'<publish node="eu.siacs.conversations.axolotl.devicelist">'+
|
||||
'<item>'+
|
||||
'<list xmlns="eu.siacs.conversations.axolotl"/>'+
|
||||
'<device id="123456789"/>'+
|
||||
'<device id="444"/>'+
|
||||
'<list xmlns="eu.siacs.conversations.axolotl">'+
|
||||
'<device id="123456789"/>'+
|
||||
'<device id="444"/>'+
|
||||
'</list>'+
|
||||
'</item>'+
|
||||
'</publish>'+
|
||||
'</pubsub>'+
|
||||
@ -669,9 +670,10 @@
|
||||
'<pubsub xmlns="http://jabber.org/protocol/pubsub">'+
|
||||
'<publish node="eu.siacs.conversations.axolotl.devicelist">'+
|
||||
'<item>'+
|
||||
'<list xmlns="eu.siacs.conversations.axolotl"/>'+
|
||||
'<device id="482886413b977930064a5888b92134fe"/>'+
|
||||
'<device id="123456789"/>'+
|
||||
'<list xmlns="eu.siacs.conversations.axolotl">'+
|
||||
'<device id="482886413b977930064a5888b92134fe"/>'+
|
||||
'<device id="123456789"/>'+
|
||||
'</list>'+
|
||||
'</item>'+
|
||||
'</publish>'+
|
||||
'</pubsub>'+
|
||||
|
@ -734,7 +734,7 @@
|
||||
}).c('pubsub', {'xmlns': Strophe.NS.PUBSUB})
|
||||
.c('publish', {'node': Strophe.NS.OMEMO_DEVICELIST})
|
||||
.c('item')
|
||||
.c('list', {'xmlns': Strophe.NS.OMEMO}).up()
|
||||
.c('list', {'xmlns': Strophe.NS.OMEMO})
|
||||
|
||||
_.each(this.devices.where({'active': true}), (device) => {
|
||||
stanza.c('device', {'id': device.get('id')}).up();
|
||||
|
Loading…
Reference in New Issue
Block a user