plugins/muc/muc.lib.lua
changeset 10298 b61a7173f838
parent 10216 a53126b7fe22
parent 10297 f9301d93de72
child 10357 7b602e13c3b6
--- a/plugins/muc/muc.lib.lua	Sun Sep 29 18:44:58 2019 +0200
+++ b/plugins/muc/muc.lib.lua	Sun Sep 29 20:48:58 2019 +0200
@@ -777,6 +777,7 @@
 		return true;
 	end
 	log("debug", "%s sent private message stanza to %s (%s)", from, to, o_data.jid);
+	stanza = muc_util.filter_muc_x(st.clone(stanza));
 	stanza:tag("x", { xmlns = "http://jabber.org/protocol/muc#user" }):up();
 	stanza.attr.from = current_nick;
 	self:route_to_occupant(o_data, stanza)