# HG changeset patch # User Kim Alvefur # Date 1359041808 -3600 # Node ID fd3219d644145f772e73fb6ee423afd101c6cc67 # Parent d80e56d8805c83c5d18dadcac6c3e7fb2ee8b680 mod_pubsub: Ignore subscription options for now, fixes traceback due to missing form diff -r d80e56d8805c -r fd3219d64414 plugins/mod_pubsub.lua --- a/plugins/mod_pubsub.lua Thu Jan 24 00:59:32 2013 +0100 +++ b/plugins/mod_pubsub.lua Thu Jan 24 16:36:48 2013 +0100 @@ -111,10 +111,13 @@ 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