Mercurial > eldonilo > lightstring
changeset 75:619f3ffa125a
Lightstring.namespaces has been renamed to Lightstring.ns.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Mon, 06 Feb 2012 17:37:16 +0100 |
parents | 7cb0037bf43c |
children | 0b8e7ca19f83 |
files | plugins/pubsub.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.