# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1499332870 -7200
# Node ID 9f2a5fc9e4a5fa38d69cff0f70d89b88dd6b88be
# Parent  627689c058aa1b494cba07b8c66f2a0ea948248e
MUC: Log debug message when restoring a room from storage

diff -r 627689c058aa -r 9f2a5fc9e4a5 plugins/muc/mod_muc.lua
--- 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;