Mercurial > prosody-hg
comparison 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 |
| parents | e1de29c41259 |
| children | 76e135fbca0f |
comparison
equal
deleted
inserted
replaced
| 11185:409ce7686c11 | 11186:15fe9f0bb483 |
|---|---|
| 870 local item = self:get(nil); | 870 local item = self:get(nil); |
| 871 if item then | 871 if item then |
| 872 return item.attr.id, item; | 872 return item.attr.id, item; |
| 873 end | 873 end |
| 874 end | 874 end |
| 875 return setmetatable(get_set, archive); | 875 return get_set; |
| 876 end | 876 end |
| 877 _M.archive_itemstore = archive_itemstore; | 877 _M.archive_itemstore = archive_itemstore; |
| 878 | 878 |
| 879 return _M; | 879 return _M; |
