Changeset

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 1105:7837a5f7c10d
children 1107:04cf0b75fe2a
files mod_muc_log_http/muc_log_http/mod_muc_log_http.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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