aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-12 01:31:08 +0200
committerKim Alvefur <zash@zash.se>2017-10-12 01:31:08 +0200
commit4f0cbf92a341687c8b0cd38e6a7ea3059ea46c65 (patch)
treee52759ef57c09b6f11497d05f2423221b98cc027 /plugins/mod_pubsub/pubsub.lib.lua
parent9daf5dbd6db390257237816a1489179552bfcc1b (diff)
downloadprosody-4f0cbf92a341687c8b0cd38e6a7ea3059ea46c65.tar.gz
prosody-4f0cbf92a341687c8b0cd38e6a7ea3059ea46c65.zip
mod_pubsub, mod_pep_plus: Rename simple_itemstore to reflect that it's based on archive storage
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index b1f0ce02..56b0cb42 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -331,7 +331,7 @@ local function create_encapsulating_item(id, payload, publisher, expose_publishe
return item;
end
-local function simple_itemstore(archive, config, user, node, expose_publisher)
+local function archive_itemstore(archive, config, user, node, expose_publisher)
module:log("debug", "Creation of itemstore for node %s with config %s", node, config);
local get_set = {};
function get_set:items() -- luacheck: ignore 212/self
@@ -389,6 +389,6 @@ local function simple_itemstore(archive, config, user, node, expose_publisher)
end
return setmetatable(get_set, archive);
end
-_M.simple_itemstore = simple_itemstore;
+_M.archive_itemstore = archive_itemstore;
return _M;