aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-01-24 16:36:48 +0100
committerKim Alvefur <zash@zash.se>2013-01-24 16:36:48 +0100
commit6132cbab483a3521b4efddf87862ddc68f7f9784 (patch)
treeca99ea4de3498a77ee90787b77878264a0622a2f /plugins/mod_pubsub.lua
parent255bd1e311f7dfe1dd48651666d677ed0161d272 (diff)
downloadprosody-6132cbab483a3521b4efddf87862ddc68f7f9784.tar.gz
prosody-6132cbab483a3521b4efddf87862ddc68f7f9784.zip
mod_pubsub: Ignore subscription options for now, fixes traceback due to missing form
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index 687e38f1..c840c7c2 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -111,10 +111,13 @@ end
function handlers.set_subscribe(origin, stanza, subscribe)
local node, jid = subscribe.attr.node, subscribe.attr.jid;
+ --[[
local options_tag, options = stanza.tags[1]:get_child("options"), nil;
if options_tag then
options = options_form:data(options_tag.tags[1]);
end
+ --]]
+ local options_tag, options; -- FIXME
local ok, ret = service:add_subscription(node, stanza.attr.from, jid, options);
local reply;
if ok then