aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-26 12:09:58 +0200
committerKim Alvefur <zash@zash.se>2017-04-26 12:09:58 +0200
commitd00c4eecc2c0fe02b1fbff12a472a650d602c4de (patch)
tree703466d8e1092c6fed347639d6c96b1e896f692c /plugins/mod_pubsub
parent3512924a628064a09bfa8ba5e0beed3c89601f5b (diff)
downloadprosody-d00c4eecc2c0fe02b1fbff12a472a650d602c4de.tar.gz
prosody-d00c4eecc2c0fe02b1fbff12a472a650d602c4de.zip
mod_pubsub: Pass 'user' to simple_itemstore
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 8bbebcf9..649ba89d 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -39,7 +39,7 @@ function handle_pubsub_iq(event)
end
local function simple_itemstore(config, node)
- return lib_pubsub.simple_itemstore(archive, config, node, expose_publisher);
+ return lib_pubsub.simple_itemstore(archive, config, nil, node, expose_publisher);
end
function simple_broadcast(kind, node, jids, item, actor)
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 810f608a..d298d6ac 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -326,7 +326,7 @@ local function create_encapsulating_item(id, payload, publisher, expose_publishe
return item;
end
-local function simple_itemstore(archive, config, node, expose_publisher)
+local function simple_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()