mod_pubsub: Update node config names (should have been in 2abbb01cd756) (thanks lovetox)

remotes/origin/0.11
Kim Alvefur 8 years ago
parent b832997f35
commit 5b91ff0bab
  1. 2
      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

Loading…
Cancel
Save