projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
363f6b8
)
mod_pubsub: Remove nodeid check added in 989acb4ad1de that wasn't needed
author
Kim Alvefur
<zash@zash.se>
Thu, 9 May 2013 09:13:18 +0000
(11:13 +0200)
committer
Kim Alvefur
<zash@zash.se>
Thu, 9 May 2013 09:13:18 +0000
(11:13 +0200)
plugins/mod_pubsub.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_pubsub.lua
b/plugins/mod_pubsub.lua
index 22969ab5f067d9fee54364c8ffc933d9fcf6bb99..926ed4f2e8ba483fec1c7ed930e64776d4c46671 100644
(file)
--- a/
plugins/mod_pubsub.lua
+++ b/
plugins/mod_pubsub.lua
@@
-80,9
+80,6
@@
end
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));