From 0a8a04dcb1d19c39d8cd65f7541ba5a3e5d682c5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 23 Sep 2021 15:25:51 +0200 Subject: mod_muc_mam: Fix copypaste mistake in debug logging This line was copied from mod_mam, where `origin.username` made sense, less so here. --- plugins/mod_muc_mam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index e30e3d33..e509017c 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -176,7 +176,7 @@ module:hook("iq-set/bare/"..xmlns_mam..":query", function(event) end module:log("debug", "Archive query by %s id=%s when=%s...%s", - origin.username, + from, qid or stanza.attr.id, qstart and timestamp(qstart) or "", qend and timestamp(qend) or ""); -- cgit v1.2.3