diff mod_muc_log_http/muc_log_http/mod_muc_log_http.lua @ 1106:a53f9989a859

mod_muc_log_http: Have same default for showing presence as mod_muc_log
author Kim Alvefur <zash@zash.se>
date Wed, 10 Jul 2013 13:16:33 +0200
parents c6d4778bc0e8
children d7bbacdabb8f
line wrap: on
line diff
--- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Wed Jul 10 12:42:46 2013 +0200
+++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Wed Jul 10 13:16:33 2013 +0200
@@ -688,7 +688,7 @@
 
 function module.load()
 	config = module:get_option("muc_log_http_config", {});
-	if module:get_option_boolean("muc_log_presences", false) then config.show_presences = true end
+	if module:get_option_boolean("muc_log_presences", true) then config.show_presences = true end
 	if config.show_status == nil then config.show_status = true; end
 	if config.show_join == nil then config.show_join = true; end
 	if config.url_base and type(config.url_base) == "string" then url_base = config.url_base; end