Changeset

10943:22b1298403ff 0.11

mod_muc_mam: Don't strip MUC <x> tags, fix #1567
author Kim Alvefur <zash@zash.se>
date Sun, 21 Jun 2020 19:20:54 +0200
parents 10914:0d7d71dee0a0
children 10944:cb52cb8aa706 10947:801b9d5957a6
files plugins/mod_muc_mam.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua	Sat May 23 14:17:04 2020 +0200
+++ b/plugins/mod_muc_mam.lua	Sun Jun 21 19:20:54 2020 +0200
@@ -318,9 +318,6 @@
 		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);