Mercurial > prosody-hg
diff plugins/mod_pubsub.lua @ 5569:c45997aebaa2
mod_pubsub: Remove nodeid check added in 989acb4ad1de that wasn't needed
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 09 May 2013 11:13:18 +0200 |
| parents | 169772e3d4e0 |
| children | acae6289e0a6 |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Tue May 07 17:17:32 2013 +0200 +++ b/plugins/mod_pubsub.lua Thu May 09 11:13:18 2013 +0200 @@ -80,9 +80,6 @@ function handlers.get_subscriptions(origin, stanza, subscriptions) local node = subscriptions.attr.node; - if not node then - return origin.send(pubsub_error_reply(stanza, "nodeid-required")); - end local ok, ret = service:get_subscriptions(node, stanza.attr.from, stanza.attr.from); if not ok then return origin.send(pubsub_error_reply(stanza, ret));
