author | Kim Alvefur <zash@zash.se> |
Sat, 18 Nov 2017 00:47:44 +0100 | |
changeset 2837 | 4f9466be7b46 |
parent 2836 | 15a9d508c5f7 |
child 2838 | 3fb5f173f213 |
--- a/mod_mam_muc/mod_mam_muc.lua Sat Nov 18 00:47:00 2017 +0100 +++ b/mod_mam_muc/mod_mam_muc.lua Sat Nov 18 00:47:44 2017 +0100 @@ -252,6 +252,7 @@ :tag("forwarded", { xmlns = xmlns_forward }) :tag("delay", { xmlns = xmlns_delay, stamp = timestamp(when) }):up(); + -- Strip <x> tag, containing the original senders JID, unless the room makes this public if room:get_whois() ~= "anyone" then item:maptags(function (tag) if tag.name == "x" and tag.attr.xmlns == xmlns_muc_user then