diff options
author | Kim Alvefur <zash@zash.se> | 2017-09-13 18:46:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-09-13 18:46:39 +0200 |
commit | 8483401b3203a6745fafea2303727732c8f08ec7 (patch) | |
tree | 22ae6f5769cc76f0f338f6ce1909c56e311f0fe9 /plugins | |
parent | 6d90645c0a96a41250bd1c32af3af740b7ecf7b5 (diff) | |
download | prosody-8483401b3203a6745fafea2303727732c8f08ec7.tar.gz prosody-8483401b3203a6745fafea2303727732c8f08ec7.zip |
mod_pubsub: Comment out data persistence for now (weird without config persistence)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/mod_pubsub.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index 649ba89d..d4733ee4 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -21,7 +21,9 @@ module:depends("disco"); module:add_identity("pubsub", "service", pubsub_disco_name); module:add_feature("http://jabber.org/protocol/pubsub"); +--[[ TODO Disabled until config persistence is implemented local archive = module:open_store("pubsub", "archive"); +--]] function handle_pubsub_iq(event) local origin, stanza = event.origin, event.stanza; @@ -38,9 +40,11 @@ function handle_pubsub_iq(event) end end +--[[ TODO Disabled until config persistence is implemented local function simple_itemstore(config, node) return lib_pubsub.simple_itemstore(archive, config, nil, node, expose_publisher); end +--]] function simple_broadcast(kind, node, jids, item, actor) if item then @@ -230,7 +234,9 @@ function module.load() autocreate_on_publish = autocreate_on_publish; autocreate_on_subscribe = autocreate_on_subscribe; + --[[ TODO Disabled until config persistence is implemented itemstore = simple_itemstore; + --]] broadcaster = simple_broadcast; get_affiliation = get_affiliation; |