aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-01-04 23:16:02 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-01-04 23:16:02 +0100
commit91172308d6b888a34ee190ca703d7a80cfbd21bc (patch)
tree50e439c046f38dc866d01502dd4d537c742599f8 /plugins
parentbe16e279574f889dd97221b6ec5d26b1f822b0a9 (diff)
downloadprosody-91172308d6b888a34ee190ca703d7a80cfbd21bc.tar.gz
prosody-91172308d6b888a34ee190ca703d7a80cfbd21bc.zip
mod_bookmarks: Remove compatibility with 0.11
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bookmarks.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/mod_bookmarks.lua b/plugins/mod_bookmarks.lua
index db74f340..a7cf695d 100644
--- a/plugins/mod_bookmarks.lua
+++ b/plugins/mod_bookmarks.lua
@@ -20,12 +20,6 @@ local default_options = {
["access_model"] = "whitelist";
};
-if not mod_pep.check_node_config(nil, nil, default_options) then
- -- 0.11 or earlier not supporting max_items="max" trows an error here
- module:log("debug", "Setting max_items=pep_max_items because 'max' is not supported in this version");
- default_options["max_items"] = module:get_option_number("pep_max_items", 256);
-end
-
module:hook("account-disco-info", function (event)
-- This Time it’s Serious!
event.reply:tag("feature", { var = namespace.."#compat" }):up();