diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2022-01-04 23:16:02 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2022-01-04 23:16:02 +0100 |
commit | 91172308d6b888a34ee190ca703d7a80cfbd21bc (patch) | |
tree | 50e439c046f38dc866d01502dd4d537c742599f8 | |
parent | be16e279574f889dd97221b6ec5d26b1f822b0a9 (diff) | |
download | prosody-91172308d6b888a34ee190ca703d7a80cfbd21bc.tar.gz prosody-91172308d6b888a34ee190ca703d7a80cfbd21bc.zip |
mod_bookmarks: Remove compatibility with 0.11
-rw-r--r-- | plugins/mod_bookmarks.lua | 6 |
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(); |