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 | 90a6c4a9268cfa9ecf589debd5d47392cb54deca (patch) | |
tree | 140ad735d94986709a1c2b68aaea84f3f5e61e0b /plugins/mod_pubsub/pubsub.lib.lua | |
parent | 984aae6307384be9afa8d7e0f601462e7df198b1 (diff) | |
download | prosody-90a6c4a9268cfa9ecf589debd5d47392cb54deca.tar.gz prosody-90a6c4a9268cfa9ecf589debd5d47392cb54deca.zip |
mod_pubsub: Update node config names (should have been in 2abbb01cd756) (thanks lovetox)
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-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 |