# HG changeset patch # User Matthew Wild # Date 1588064597 -3600 # Node ID 0e72dd70afff8e6029085157f8e5b91f1595fb1c # Parent 42682505e692c83049101d04a9bbd809cd5184a7 mod_muc_rai: Use correct stanza kind (message) for initial notification diff -r 42682505e692 -r 0e72dd70afff mod_muc_rai/mod_muc_rai.lua --- a/mod_muc_rai/mod_muc_rai.lua Mon Apr 27 23:07:01 2020 +0200 +++ b/mod_muc_rai/mod_muc_rai.lua Tue Apr 28 10:03:17 2020 +0100 @@ -193,7 +193,7 @@ end end - local reply = st.reply(stanza) + local reply = st.message({ to = stanza.attr.from, from = module.host }) :tag("rai", { xmlns = xmlns_rai }); for room_jid in pairs(rooms_with_activity) do reply:text_tag("activity", room_jid);