Software /
code /
prosody
Diff
plugins/mod_pubsub.lua @ 5308:fd3219d64414
mod_pubsub: Ignore subscription options for now, fixes traceback due to missing form
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 24 Jan 2013 16:36:48 +0100 |
parent | 5305:391b72fede9f |
child | 5312:fdcd2ac7c22d |
line wrap: on
line diff
--- 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