* src/ejabberd_c2s.erl: Added workaround for some Java clients

SVN Revision: 179
This commit is contained in:
Alexey Shchepin 2003-11-28 19:08:51 +00:00
parent b154f75523
commit 48e8a0c0c6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-28 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Added workaround for some Java clients
2003-11-27 Alexey Shchepin <alexey@sevcom.net>
* examples/mtr/ejabberd.cfg: Updatted (thanks to Marshall T. Rose)

View File

@ -237,7 +237,8 @@ wait_for_auth({xmlstreamelement, El}, StateData) ->
[StateData#state.socket,
jlib:jid_to_string(JID)]),
ejabberd_sm:open_session(U, R),
Res = jlib:make_result_iq_reply(El),
Res1 = jlib:make_result_iq_reply(El),
Res = setelement(4, Res1, []),
send_element(StateData, Res),
change_shaper(StateData, JID),
{Fs, Ts} = mod_roster:get_subscription_lists(U),