Software /
code /
prosody
Diff
plugins/mod_pubsub/pubsub.lib.lua @ 8217:5f4e0d67b82a
util.pubsub: Catch overriden id from storage
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Apr 2017 12:06:41 +0200 |
parent | 8216:d80233ca006d |
child | 8218:2c75a5ba58fc |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Wed Apr 26 12:05:06 2017 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Wed Apr 26 12:06:41 2017 +0200 @@ -383,7 +383,7 @@ module:log("error", "Unable to set item: %s", err); return nil, err; end - return true; + return data; end return setmetatable(get_set, archive); end