# HG changeset patch # User daurnimator # Date 1396046037 14400 # Node ID c54ef63f6e20f5ea2182f11b7e6846b488792e54 # Parent f47268c8a8d0b42b2150e68050746f7524de3b9c plugins/muc/muc.lib: nick change unavailables should be from original occupant jid diff -r f47268c8a8d0 -r c54ef63f6e20 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Fri Mar 28 18:33:38 2014 -0400 +++ b/plugins/muc/muc.lib.lua Fri Mar 28 18:33:57 2014 -0400 @@ -760,7 +760,7 @@ -- 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);