25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* src/mod_muc/mod_muc_room.erl: Fixed the order in which room presence

packets are sent (First existing presence to new occupant, then new
occupant presence to existing users (EJAB-115).

SVN Revision: 587
This commit is contained in:
Mickaël Rémond 2006-07-06 16:06:44 +00:00
parent a166203194
commit 6225c951fd
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,10 @@
* src/mod_roster.erl: Likewise.
* src/mod_roster_odbc.erl: Likewise.
* src/mod_muc/mod_muc_room.erl: Fixed the order in which room presence
packets are sent (First existing presence to new occupant, then new
occupant presence to existing users.
2006-07-05 Mickael Remond <mickael.remond@process-one.net>
* src/web/ejabberd_web_admin.erl: More flexible parsing the shared

View File

@ -1002,8 +1002,8 @@ add_new_user(From, Nick, {xmlelement, _, Attrs, Els} = Packet, StateData) ->
true ->
ok
end,
send_new_presence(From, NewState),
send_existing_presences(From, NewState),
send_new_presence(From, NewState),
Shift = count_stanza_shift(Nick, Els, NewState),
case send_history(From, Shift, NewState) of
true ->