aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2011-01-03 09:40:45 +0100
committerKim Alvefur <zash@zash.se>2011-01-03 09:40:45 +0100
commitee8892b9e5975b338fc77b938c35a3a271005836 (patch)
tree34396633de2628161a85e7a4cec91a8c64ec09a3 /plugins/muc/muc.lib.lua
parentd057082fc6a397348da8bacfcec1af37e931af70 (diff)
downloadprosody-ee8892b9e5975b338fc77b938c35a3a271005836.tar.gz
prosody-ee8892b9e5975b338fc77b938c35a3a271005836.zip
MUC: Fix a pair of missing :up()
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index f3e2dd52..7a069852 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -356,7 +356,7 @@ function room_mt:handle_to_occupant(origin, stanza) -- PM, vCards, etc
pr.attr.to = from;
pr:tag("x", {xmlns='http://jabber.org/protocol/muc#user'})
:tag("item", {affiliation=occupant.affiliation or "none", role='none'}):up()
- :tag("status", {code='110'});
+ :tag("status", {code='110'}):up();
self:_route_stanza(pr);
if jid ~= new_jid then
pr = st.clone(occupant.sessions[new_jid])
@@ -454,7 +454,7 @@ function room_mt:handle_to_occupant(origin, stanza) -- PM, vCards, etc
if not is_merge then
self:broadcast_except_nick(pr, to);
end
- pr:tag("status", {code='110'});
+ pr:tag("status", {code='110'}):up();
if self._data.whois == 'anyone' then
pr:tag("status", {code='100'}):up();
end