# HG changeset patch # User Sonny Piers # Date 1328546236 -3600 # Node ID 619f3ffa125a6ffadd244a2f6096403f6fa82308 # Parent 7cb0037bf43ce78c4df492a98c0f32bd0aabe5d3 Lightstring.namespaces has been renamed to Lightstring.ns. diff --git a/plugins/pubsub.js b/plugins/pubsub.js --- a/plugins/pubsub.js +++ b/plugins/pubsub.js @@ -132,7 +132,7 @@ }, init: function() { //TODO: find a way to put that in handlers, it’s UGLY! - this.on('in-message-*-' + Lightstring.namespaces['pubsub_event'] + ':event', function(stanza) { + this.on('in-message-*-' + Lightstring.ns['pubsub_event'] + ':event', function(stanza) { var payload = stanza.firstChild.firstChild; //XXX if (payload.namespaceURI !== Lightstring.namespaces['pubsub_event']) return; //TODO: emit something.