Changeset

6162:a58fb6a05412

mod_muc_moderation: add missing id attribute to retract
author nicoco <nicoco@nicoco.fr>
date Fri, 24 Jan 2025 06:55:44 +0100
parents 6161:99860e1b817d
children 6163:eff78e2c7d22
files mod_muc_moderation/mod_muc_moderation.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_moderation/mod_muc_moderation.lua	Wed Jan 22 18:04:26 2025 +0000
+++ b/mod_muc_moderation/mod_muc_moderation.lua	Fri Jan 24 06:55:44 2025 +0100
@@ -115,7 +115,7 @@
 	announcement:reset();
 
 	if retract then
-		announcement:tag("retract", { xmlns = xmlns_retract_1 })
+		announcement:tag("retract", { xmlns = xmlns_retract_1; id = stanza_id })
 			:tag("moderated", { xmlns = xmlns_moderate_1 })
 			:tag("occupant-id", { xmlns = xmlns_occupant_id; id = room:get_occupant_id(actor_occupant) });
 		if reason then