# HG changeset patch # User JC Brand # Date 1608561718 -3600 # Node ID 747a14017d005182691f8dfe136e590217cb709f # Parent 2ca55a4da3ead010e55d15e5c8e627aa5e513a9e muc_room_mention_notifications: Set xmlns to what's used in the protoXEP diff -r 2ca55a4da3ea -r 747a14017d00 mod_muc_room_mention_notifications/mod_muc_room_mention_notifications.lua --- a/mod_muc_room_mention_notifications/mod_muc_room_mention_notifications.lua Mon Dec 21 15:39:56 2020 +0100 +++ b/mod_muc_room_mention_notifications/mod_muc_room_mention_notifications.lua Mon Dec 21 15:41:58 2020 +0100 @@ -7,7 +7,7 @@ local muc_affiliation_store = module:open_store("config", "map"); -local rmn_xmlns = "urn:xmpp:rmn:0"; +local mmn_xmlns = "urn:xmpp:mmn:0"; local reference_xmlns = "urn:xmpp:reference:0"; local forwarded_xmlns = "urn:xmpp:forward:0"; local deplay_xmlns = "urn:xmpp:delay"; @@ -40,7 +40,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 }) - :tag("mentions", { xmlns = rmn_xmlns }) + :tag("mentions", { xmlns = mmn_xmlns }) :tag("forwarded", {xmlns = forwarded_xmlns}) :tag("delay", {xmlns = deplay_xmlns, stamp = datetime.datetime()}):up() :add_child(mention_stanza)