diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-26 12:06:41 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-26 12:06:41 +0200 |
commit | 3512924a628064a09bfa8ba5e0beed3c89601f5b (patch) | |
tree | 374dac90ac7048a2addd07b16c888615bf477747 /plugins/mod_pubsub/pubsub.lib.lua | |
parent | 58ce210544fab1020fe8761f472e93f8846ffe64 (diff) | |
download | prosody-3512924a628064a09bfa8ba5e0beed3c89601f5b.tar.gz prosody-3512924a628064a09bfa8ba5e0beed3c89601f5b.zip |
util.pubsub: Catch overriden id from storage
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 37fbc902..810f608a 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -383,7 +383,7 @@ local function simple_itemstore(archive, config, node, expose_publisher) module:log("error", "Unable to set item: %s", err); return nil, err; end - return true; + return data; end return setmetatable(get_set, archive); end |