Changeset

10294:b61a7173f838

Merge 0.11-trunk
author Kim Alvefur <zash@zash.se>
date Sun, 29 Sep 2019 20:48:58 +0200
parents 10292:8fb546e40756 (current diff) 10293:f9301d93de72 (diff)
children 10295:9b662488d726
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)