Tue, 17 Feb 2009 02:48:06 +0500
MUC: Fixed: Presence for user joining the roomi was sent twice to the user
plugins/mod_muc.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_muc.lua Mon Feb 16 15:44:54 2009 +0000 +++ b/plugins/mod_muc.lua Tue Feb 17 02:48:06 2009 +0500 @@ -298,7 +298,7 @@ local r = rooms:get(room); if r then for occupant, o_data in pairs(r) do - if occupant ~= from then + if occupant ~= to then local pres = get_filtered_presence(o_data.sessions[o_data.jid]); pres.attr.to, pres.attr.from = from, occupant; pres