Diff

plugins/muc/mod_muc.lua @ 8178:9f2a5fc9e4a5

MUC: Log debug message when restoring a room from storage
author Kim Alvefur <zash@zash.se>
date Thu, 06 Jul 2017 11:21:10 +0200
parent 8026:f237d0155e59
child 8179:c5fa7fe3fd79
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Mon Jul 03 17:32:13 2017 +0200
+++ b/plugins/muc/mod_muc.lua	Thu Jul 06 11:21:10 2017 +0200
@@ -138,6 +138,7 @@
 	local data = room_configs:get(node);
 	local state = room_state:get(node);
 	if data then
+		module:log("debug", "Restoring room %s from storage", jid);
 		local room = muclib.restore_room(data, state);
 		track_room(room);
 		return room;