Software /
code /
prosody
Diff
plugins/mod_pubsub/pubsub.lib.lua @ 11186:15fe9f0bb483
mod_pubsub: Don't set store as metatable
'archive' is not a metatable here, so this has no effect. Remove since
apparently nothing depends on this.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Oct 2020 15:20:14 +0100 |
parent | 10554:e1de29c41259 |
child | 11187:76e135fbca0f |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Wed Oct 21 10:40:11 2020 +0100 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sun Oct 25 15:20:14 2020 +0100 @@ -872,7 +872,7 @@ return item.attr.id, item; end end - return setmetatable(get_set, archive); + return get_set; end _M.archive_itemstore = archive_itemstore;