Software /
code /
prosody-modules
Changeset
4866:a1181413a0eb
mod_bookmarks2: Skip send_last_published_item (unavailable in 0.11) (thanks carlos)
Not the most important setting, we can live without it for now.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Jan 2022 00:38:32 +0100 |
parents | 4865:bd0a1f917d98 |
children | 4867:9d29467f4d5b |
files | mod_bookmarks2/mod_bookmarks2.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_bookmarks2/mod_bookmarks2.lua Wed Jan 12 16:42:08 2022 +0000 +++ b/mod_bookmarks2/mod_bookmarks2.lua Sat Jan 15 00:38:32 2022 +0100 @@ -24,6 +24,7 @@ -- 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); + default_options["send_last_published_item"] = nil; -- not available in 0.11 end module:hook("account-disco-info", function (event)