Changeset

11816:eff0eeece24d

mod_muc_mam: Fix copypaste mistake in debug logging This line was copied from mod_mam, where `origin.username` made sense, less so here.
author Kim Alvefur <zash@zash.se>
date Thu, 23 Sep 2021 15:25:51 +0200
parents 11815:df1d3df2204a
children 11817:a67b4d4f8eef
files plugins/mod_muc_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua	Wed Sep 22 13:31:13 2021 +0100
+++ b/plugins/mod_muc_mam.lua	Thu Sep 23 15:25:51 2021 +0200
@@ -176,7 +176,7 @@
 	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 "");