--- a/mod_muc_mention_notifications/mod_muc_mention_notifications.lua Tue Dec 22 11:27:20 2020 +0100
+++ b/mod_muc_mention_notifications/mod_muc_mention_notifications.lua Wed Dec 30 16:44:21 2020 +0100
@@ -39,7 +39,7 @@
-- Send a single notification for a room, updating data structures as needed
local function send_single_notification(user_bare_jid, room_jid, mention_stanza)
- local notification = st.message({ to = user_bare_jid, from = module.host })
+ local notification = st.message({ to = user_bare_jid, from = room_jid })
:tag("mentions", { xmlns = mmn_xmlns })
:tag("forwarded", {xmlns = forwarded_xmlns})
:tag("delay", {xmlns = deplay_xmlns, stamp = datetime.datetime()}):up()