comparison plugins/disco.js @ 91:c5240333ea4c

pubsub item node
author Sonny Piers <sonny.piers@gmail.com>
date Sat, 17 Mar 2012 01:33:50 +0100
parents 7f4e43d6cb15
children
comparison
equal deleted inserted replaced
90:c1566c6981e5 91:c5240333ea4c
69 continue; 69 continue;
70 70
71 var item = { 71 var item = {
72 jid: node.getAttributeNS(null, 'jid'), 72 jid: node.getAttributeNS(null, 'jid'),
73 name: node.getAttributeNS(null, 'name'), 73 name: node.getAttributeNS(null, 'name'),
74 node: node.getAttributeNS(null, 'node') 74 node: node.getAttributeNS(null, 'node') || ''
75 }; 75 };
76 items.push(item); 76 items.push(item);
77 } 77 }
78 78
79 stanza.items = items; 79 stanza.items = items;