changeset 2763:a6d19aea9b73

mod_http_muc_log: Ignore 'logging' room option, it's no longer set by mod_mam_muc
author Kim Alvefur <zash@zash.se>
date Mon, 04 Sep 2017 14:49:37 +0200
parents f2096c03428b
children 1872a9129c2f
files mod_http_muc_log/mod_http_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sun Sep 03 13:28:28 2017 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Mon Sep 04 14:49:37 2017 +0200
@@ -54,8 +54,7 @@
 	end
 	return (room
 		and not (room.get_hidden or room.is_hidden)(room)
-		and not (room.get_members_only or room.is_members_only)(room)
-		and room._data.logging == true);
+		and not (room.get_members_only or room.is_members_only)(room))
 end
 
 local function sort_Y(a,b) return a.year > b.year end