Mercurial > psgxs
diff modules/mod_retrieve.js @ 39:4c808bfe0658
Various little fixes.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 15 Dec 2010 22:22:14 +0100 |
parents | 45d0cd9388ea |
children | bc717575e66a |
line wrap: on
line diff
--- a/modules/mod_retrieve.js +++ b/modules/mod_retrieve.js @@ -21,7 +21,7 @@ exports.retrieveSubscriptions = { if (nodeID && nodeID != '') { if (!storage.existsNode(nodeID)) return makeError(response, errors.node_does_not_exist.n); - var subs = storage.getSubscription(toBareJID(to), node); + var subs = storage.getSubscription(toBareJID(to), nodeID); } else var subs = storage.getSubscription(toBareJID(to));