Changeset

2414:97b4229982f5

mod_mam_muc: Remove some debug logging
author Kim Alvefur <zash@zash.se>
date Sun, 04 Dec 2016 10:19:07 +0100
parents 2413:b64c0150d663
children 2415:07d7036040ee
files mod_mam_muc/mod_mam_muc.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua	Sat Dec 03 23:18:53 2016 +0100
+++ b/mod_mam_muc/mod_mam_muc.lua	Sun Dec 04 10:19:07 2016 +0100
@@ -291,7 +291,6 @@
 		reverse = true;
 		with = "message<groupchat";
 	}
-	module:log("debug", require"util.serialization".serialize(query))
 	local data, err = archive:find(jid_split(room_jid), query);
 
 	if not data then
@@ -360,7 +359,6 @@
 	-- Policy check
 	if not logging_enabled(self) then return end -- Don't log
 
-	module:log("debug", "We're logging this")
 	-- And stash it
 	local with = stanza.name
 	if stanza.attr.type then