diff mod_bookmarks2/mod_bookmarks2.lua @ 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 9187a7adfc39
children 347894e08b4f
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)