aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-02-03 07:25:05 +0100
committerKim Alvefur <zash@zash.se>2014-02-03 07:25:05 +0100
commit7a257adaffd2bc14ac33045c4563d428b41d69cb (patch)
treec840902603d1482af5f9156d6170461fd47b8e69 /plugins/muc/muc.lib.lua
parent4159b9cfe19ede5b674a3328944c4ca02de99cd7 (diff)
parentc92bbefd9c5e36913afe0d796a84df180faaf0af (diff)
downloadprosody-7a257adaffd2bc14ac33045c4563d428b41d69cb.tar.gz
prosody-7a257adaffd2bc14ac33045c4563d428b41d69cb.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 462d6893..d09c768e 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -570,6 +570,7 @@ function room_mt:handle_to_occupant(origin, stanza) -- PM, vCards, etc
end
stanza.attr.from, stanza.attr.to, stanza.attr.id = from, to, id;
else -- message
+ stanza:tag("x", { xmlns = "http://jabber.org/protocol/muc#user" }):up();
stanza.attr.from = current_nick;
for jid in pairs(o_data.sessions) do
stanza.attr.to = jid;