mod_bookmarks2: Skip send_last_published_item (unavailable in 0.11) (thanks carlos)
authorKim Alvefur <zash@zash.se>
Sat, 15 Jan 2022 00:38:32 +0100
changeset 4870 a1181413a0eb
parent 4869 bd0a1f917d98
child 4871 9d29467f4d5b
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.
mod_bookmarks2/mod_bookmarks2.lua
--- 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)