diff options
author | daurnimator <quae@daurnimator.com> | 2014-03-28 18:33:57 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-03-28 18:33:57 -0400 |
commit | 5d2b35e070ebe5d10aa07c5a5f8448aa17dfef44 (patch) | |
tree | 925f0fb6d3a1a173c5384d74a03bb4f1e0aa8614 /plugins/muc | |
parent | ac04e20d3bcd37432c086d4b91222914c7c4ed59 (diff) | |
download | prosody-5d2b35e070ebe5d10aa07c5a5f8448aa17dfef44.tar.gz prosody-5d2b35e070ebe5d10aa07c5a5f8448aa17dfef44.zip |
plugins/muc/muc.lib: nick change unavailables should be from original occupant jid
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 08ca0384..6453cc3b 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -760,7 +760,7 @@ function room_mt:handle_presence_to_occupant(origin, stanza) -- self:build_item_list(orig_occupant, x, false); -- COMPAT x:tag("status", {code = "303";}):up(); x:tag("status", {code = "110";}):up(); - self:route_stanza(st.presence{from = dest_occupant.nick, to = real_jid, type = "unavailable"}:add_child(x)); + self:route_stanza(st.presence{from = orig_occupant.nick, to = real_jid, type = "unavailable"}:add_child(x)); end self:save_occupant(orig_occupant); self:publicise_occupant_status(orig_occupant, orig_x); |