mod_muc_mam: Fix reference to "user" in debug message copied from mod_mam

This commit is contained in:
Kim Alvefur 2021-09-23 17:50:33 +02:00
parent f958af4a11
commit 24dc89e125

View file

@ -403,7 +403,7 @@ local function save_to_history(self, stanza)
end
end
if not id and (archive.caps and archive.caps.truncate) then
module:log("debug", "User '%s' over quota, truncating archive", room_node);
module:log("debug", "Room '%s' over quota, truncating archive", room_node);
local truncated = archive:delete(room_node, {
truncate = archive_truncate;
});