aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-26 12:06:41 +0200
committerKim Alvefur <zash@zash.se>2017-04-26 12:06:41 +0200
commita7a4931456a617422c547daeec2a9e9c5fb82f83 (patch)
tree374dac90ac7048a2addd07b16c888615bf477747 /plugins
parent5cddb86b64d1fe1061c6cebe53b6fa0f905b500f (diff)
downloadprosody-a7a4931456a617422c547daeec2a9e9c5fb82f83.tar.gz
prosody-a7a4931456a617422c547daeec2a9e9c5fb82f83.zip
util.pubsub: Catch overriden id from storage
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
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