24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02:00

* src/ejabberd_s2s_out.erl: Bugfix

SVN Revision: 183
This commit is contained in:
Alexey Shchepin 2003-12-12 20:35:40 +00:00
parent 8b5c042dee
commit 91fe973361
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-12-12 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_s2s_out.erl: Bugfix
2003-12-11 Alexey Shchepin <alexey@sevcom.net> 2003-12-11 Alexey Shchepin <alexey@sevcom.net>
* src/mod_roster.erl: Updated subscription handling to latest * src/mod_roster.erl: Updated subscription handling to latest

View File

@ -201,7 +201,8 @@ wait_for_validation({xmlstreamelement, El}, StateData) ->
case Type of case Type of
"valid" -> "valid" ->
send_queue(StateData#state.socket, StateData#state.queue), send_queue(StateData#state.socket, StateData#state.queue),
{next_state, stream_established, StateData}; {next_state, stream_established,
StateData#state{queue = queue:new()}};
_ -> _ ->
% TODO: bounce packets % TODO: bounce packets
{stop, normal, StateData} {stop, normal, StateData}