diff mod_http_muc_log/mod_http_muc_log.lua @ 5117:2b94ee74d1f1

Backed out changeset 85882735fd33 This wasn't a complete fix and the complete fix is way too complex for me to do right now without a test setup.
author Jonas Schäfer <jonas@wielicki.name>
date Sat, 17 Dec 2022 14:13:06 +0100
parents 85882735fd33
children 7bce75e74f86
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sat Dec 17 13:27:56 2022 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sat Dec 17 14:13:06 2022 +0100
@@ -21,7 +21,6 @@
 end
 
 local use_oob = module:get_option_boolean(module.name .. "_show_images", false);
-local show_presence_by_default = module:get_option_boolean(module.name .. "_show_presence_by_default", true);
 module:depends"http";
 
 local template;
@@ -137,7 +136,7 @@
 			return data.p == "h"
 		end
 	end
-	return not show_presence_by_default;
+	return false;
 end
 
 local function get_dates(room) --> { integer, ... }