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 | db49dcc90c3df03e0c0c13a11429d26aec13c3f7 (patch) | |
tree | ca99ea4de3498a77ee90787b77878264a0622a2f /plugins | |
parent | e9a03725ff41d10630ef28997879a348728636c6 (diff) | |
download | prosody-db49dcc90c3df03e0c0c13a11429d26aec13c3f7.tar.gz prosody-db49dcc90c3df03e0c0c13a11429d26aec13c3f7.zip |
mod_pubsub: Ignore subscription options for now, fixes traceback due to missing form
Diffstat (limited to 'plugins')
-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 |