aboutsummaryrefslogtreecommitdiffstats
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
commit6bf334e359b1b44dfa1356a3b7257588dda68f14 (patch)
tree86bb0711031c4314e4caede87180197a3e30a951
parentc8810bb1b7381178e6e9d08a8388421745bf23b9 (diff)
downloadprosody-6bf334e359b1b44dfa1356a3b7257588dda68f14.tar.gz
prosody-6bf334e359b1b44dfa1356a3b7257588dda68f14.zip
MUC: Fix a pair of missing :up()
-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