diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-21 19:20:54 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-21 19:20:54 +0200 |
commit | 28f0267645821b58d98288e91201f9f29095ebed (patch) | |
tree | 815aed0e0121d84e16f09b936c160060f061f65f /plugins/mod_muc_mam.lua | |
parent | 71c6728e69c98d7a70ec4ae4ffacb08ae683803f (diff) | |
download | prosody-28f0267645821b58d98288e91201f9f29095ebed.tar.gz prosody-28f0267645821b58d98288e91201f9f29095ebed.zip |
mod_muc_mam: Don't strip MUC <x> tags, fix #1567
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index 711bf163..f0417889 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -318,9 +318,6 @@ module:hook("muc-broadcast-message", function (event) and jid_prep(tag.attr.by) == room.jid then return nil; end - if tag.name == "x" and tag.attr.xmlns == xmlns_muc_user then - return nil; - end return tag; end); |