Changeset

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
parents 8170:627689c058aa
children 8179:c5fa7fe3fd79
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;