# HG changeset patch # User nicoco # Date 1737698144 -3600 # Node ID a58fb6a054128e89649ae308d6aebdf192c860da # Parent 99860e1b817d4681f8b140e38919fe2d4f6bed6f mod_muc_moderation: add missing id attribute to retract diff -r 99860e1b817d -r a58fb6a05412 mod_muc_moderation/mod_muc_moderation.lua --- 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