From 3512924a628064a09bfa8ba5e0beed3c89601f5b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 26 Apr 2017 12:06:41 +0200 Subject: util.pubsub: Catch overriden id from storage --- plugins/mod_pubsub/pubsub.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pubsub') 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 -- cgit v1.2.3