# HG changeset patch # User Sonny Piers # Date 1331944430 -3600 # Node ID c5240333ea4cdf3267df2c89acbfb6c1fe2e7834 # Parent c1566c6981e50b9bef11df7dbb5244c0c0f9863d pubsub item node diff --git a/plugins/disco.js b/plugins/disco.js --- a/plugins/disco.js +++ b/plugins/disco.js @@ -71,7 +71,7 @@ var item = { jid: node.getAttributeNS(null, 'jid'), name: node.getAttributeNS(null, 'name'), - node: node.getAttributeNS(null, 'node') + node: node.getAttributeNS(null, 'node') || '' }; items.push(item); }