diff options
author | Kim Alvefur <zash@zash.se> | 2013-01-24 16:36:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-01-24 16:36:48 +0100 |
commit | 6132cbab483a3521b4efddf87862ddc68f7f9784 (patch) | |
tree | ca99ea4de3498a77ee90787b77878264a0622a2f /plugins/mod_pubsub.lua | |
parent | 255bd1e311f7dfe1dd48651666d677ed0161d272 (diff) | |
download | prosody-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.lua | 3 |
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 |