aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-09-23 15:25:51 +0200
committerKim Alvefur <zash@zash.se>2021-09-23 15:25:51 +0200
commit0a8a04dcb1d19c39d8cd65f7541ba5a3e5d682c5 (patch)
tree15579328cabe820b352f45bb5aea1beb9095b1b7
parent584285332d6b87650ae5e5456b823f35debd3834 (diff)
downloadprosody-0a8a04dcb1d19c39d8cd65f7541ba5a3e5d682c5.tar.gz
prosody-0a8a04dcb1d19c39d8cd65f7541ba5a3e5d682c5.zip
mod_muc_mam: Fix copypaste mistake in debug logging
This line was copied from mod_mam, where `origin.username` made sense, less so here.
-rw-r--r--plugins/mod_muc_mam.lua2
1 files changed, 1 insertions, 1 deletions
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 "");