Software /
code /
prosody
Changeset
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 | 5567:c4ab25b35a55 |
children | 5570:f592409f5fcd 5571:ae9672f4079a |
files | plugins/mod_pubsub.lua |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
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));