Comparison

plugins/mod_pubsub/pubsub.lib.lua @ 9126:3dd5034a3233

pubsub.lib: Enable publish-options by default
author Matthew Wild <mwild1@gmail.com>
date Mon, 06 Aug 2018 08:29:49 +0100
parent 9125:da7a2db01d6a
child 9127:decad04ec184
comparison
equal deleted inserted replaced
9125:da7a2db01d6a 9126:3dd5034a3233
10 10
11 local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; 11 local xmlns_pubsub = "http://jabber.org/protocol/pubsub";
12 local xmlns_pubsub_errors = "http://jabber.org/protocol/pubsub#errors"; 12 local xmlns_pubsub_errors = "http://jabber.org/protocol/pubsub#errors";
13 local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner"; 13 local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner";
14 14
15 local enable_publish_options = module:get_option_boolean("enable_publish_options", false); 15 local enable_publish_options = module:get_option_boolean("enable_publish_options", true);
16 16
17 local _M = {}; 17 local _M = {};
18 18
19 local handlers = {}; 19 local handlers = {};
20 _M.handlers = handlers; 20 _M.handlers = handlers;