Software /
code /
prosody
Changeset
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 |
parents | 5307:d80e56d8805c |
children | 5309:2da869d95271 |
files | plugins/mod_pubsub.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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