Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 6249:2420e308f64a
plugins/muc/muc: Always send occupant list to joining sessions
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Mon, 19 May 2014 13:40:24 -0400 |
parent | 6240:641756a6a5f7 |
child | 6250:454ef19e7925 |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Mon May 19 13:39:45 2014 -0400 +++ b/plugins/muc/muc.lib.lua Mon May 19 13:40:24 2014 -0400 @@ -453,7 +453,7 @@ end self:save_occupant(dest_occupant); - if orig_occupant == nil and is_first_dest_session then + if orig_occupant == nil then -- Send occupant list to newly joined user self:send_occupant_list(real_jid, function(nick, occupant) -- Don't include self