diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-02-17 02:48:06 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-02-17 02:48:06 +0500 |
commit | 264ed76508ef6a0bf83f28f55e53ff9ae906b7cd (patch) | |
tree | 19f2c8dbf359b765a737405a601181805c9feb03 /plugins/mod_muc.lua | |
parent | 10c09017ad54825707638483f95f3586a59da86e (diff) | |
download | prosody-264ed76508ef6a0bf83f28f55e53ff9ae906b7cd.tar.gz prosody-264ed76508ef6a0bf83f28f55e53ff9ae906b7cd.zip |
MUC: Fixed: Presence for user joining the roomi was sent twice to the user
Diffstat (limited to 'plugins/mod_muc.lua')
-rw-r--r-- | plugins/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua index 9a559f2d..a306c699 100644 --- a/plugins/mod_muc.lua +++ b/plugins/mod_muc.lua @@ -298,7 +298,7 @@ function handle_to_occupant(origin, stanza) -- PM, vCards, etc 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 |