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">'+
|
'<pubsub xmlns="http://jabber.org/protocol/pubsub">'+
|
||||||
'<publish node="eu.siacs.conversations.axolotl.devicelist">'+
|
'<publish node="eu.siacs.conversations.axolotl.devicelist">'+
|
||||||
'<item>'+
|
'<item>'+
|
||||||
'<list xmlns="eu.siacs.conversations.axolotl"/>'+
|
'<list xmlns="eu.siacs.conversations.axolotl">'+
|
||||||
'<device id="123456789"/>'+
|
'<device id="123456789"/>'+
|
||||||
'<device id="444"/>'+
|
'<device id="444"/>'+
|
||||||
|
'</list>'+
|
||||||
'</item>'+
|
'</item>'+
|
||||||
'</publish>'+
|
'</publish>'+
|
||||||
'</pubsub>'+
|
'</pubsub>'+
|
||||||
@ -669,9 +670,10 @@
|
|||||||
'<pubsub xmlns="http://jabber.org/protocol/pubsub">'+
|
'<pubsub xmlns="http://jabber.org/protocol/pubsub">'+
|
||||||
'<publish node="eu.siacs.conversations.axolotl.devicelist">'+
|
'<publish node="eu.siacs.conversations.axolotl.devicelist">'+
|
||||||
'<item>'+
|
'<item>'+
|
||||||
'<list xmlns="eu.siacs.conversations.axolotl"/>'+
|
'<list xmlns="eu.siacs.conversations.axolotl">'+
|
||||||
'<device id="482886413b977930064a5888b92134fe"/>'+
|
'<device id="482886413b977930064a5888b92134fe"/>'+
|
||||||
'<device id="123456789"/>'+
|
'<device id="123456789"/>'+
|
||||||
|
'</list>'+
|
||||||
'</item>'+
|
'</item>'+
|
||||||
'</publish>'+
|
'</publish>'+
|
||||||
'</pubsub>'+
|
'</pubsub>'+
|
||||||
|
@ -734,7 +734,7 @@
|
|||||||
}).c('pubsub', {'xmlns': Strophe.NS.PUBSUB})
|
}).c('pubsub', {'xmlns': Strophe.NS.PUBSUB})
|
||||||
.c('publish', {'node': Strophe.NS.OMEMO_DEVICELIST})
|
.c('publish', {'node': Strophe.NS.OMEMO_DEVICELIST})
|
||||||
.c('item')
|
.c('item')
|
||||||
.c('list', {'xmlns': Strophe.NS.OMEMO}).up()
|
.c('list', {'xmlns': Strophe.NS.OMEMO})
|
||||||
|
|
||||||
_.each(this.devices.where({'active': true}), (device) => {
|
_.each(this.devices.where({'active': true}), (device) => {
|
||||||
stanza.c('device', {'id': device.get('id')}).up();
|
stanza.c('device', {'id': device.get('id')}).up();
|
||||||
|
Loading…
Reference in New Issue
Block a user