diff options
author | Kim Alvefur <zash@zash.se> | 2019-09-29 20:48:58 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-09-29 20:48:58 +0200 |
commit | c12eba925b1ec2e725920cc3870b41320415027d (patch) | |
tree | 8eb4d41e0e450809742e84cd3e87eb0d1adfd01a /plugins/muc/muc.lib.lua | |
parent | f304a306dd05b8f99ba5ef26d301ea33731d2007 (diff) | |
parent | 23b4bd4c53e2f7bb0ccb85669cb7b3fd4d1fd6fc (diff) | |
download | prosody-c12eba925b1ec2e725920cc3870b41320415027d.tar.gz prosody-c12eba925b1ec2e725920cc3870b41320415027d.zip |
Merge 0.11-trunk
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 5dea3fef..d84f4ac1 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -777,6 +777,7 @@ function room_mt:handle_message_to_occupant(origin, stanza) 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) |