diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-06 21:03:30 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-06 21:03:30 +0100 |
commit | 5b91ff0babdca306f62e498e09fc24efde087d8e (patch) | |
tree | 140ad735d94986709a1c2b68aaea84f3f5e61e0b /plugins | |
parent | b832997f3590daf44cd1847254c1b87e82a58e15 (diff) | |
download | prosody-5b91ff0babdca306f62e498e09fc24efde087d8e.tar.gz prosody-5b91ff0babdca306f62e498e09fc24efde087d8e.zip |
mod_pubsub: Update node config names (should have been in 2abbb01cd756) (thanks lovetox)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index b9a7a8c1..c44801dd 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -437,7 +437,7 @@ local function archive_itemstore(archive, config, user, node) local get_set = {}; function get_set:items() -- luacheck: ignore 212/self local data, err = archive:find(user, { - limit = tonumber(config["pubsub#max_items"]); + limit = tonumber(config["max_items"]); reverse = true; }); if not data then |