diff mod_mam_muc/mod_mam_muc.lua @ 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 24c9c0255235
children deedb77c4f96
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