Software /
code /
prosody
Changeset
817:e3e3919b6c7e
MUC: Fixed: Presence for user joining the roomi was sent twice to the user
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 17 Feb 2009 02:48:06 +0500 |
parents | 814:f12b1ddd458d |
children | 818:4dda65cd1405 |
files | plugins/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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