Diff

plugins/mod_muc_mam.lua @ 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
parent 11744:5f99aa6bb76d
child 11817:a67b4d4f8eef
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 "");