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

* src/ejabberd_c2s.erl: Added <session/> to stream features

SVN Revision: 203
This commit is contained in:
Alexey Shchepin 2004-02-12 11:26:58 +00:00
parent b0b4b9a903
commit 35bfd03669
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-02-12 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Added <session/> to stream features
2004-02-10 Alexey Shchepin <alexey@sevcom.net>
* src/msgs/ru.msg: Updated (thanks to Sergei Golovan)

View File

@ -160,7 +160,9 @@ wait_for_stream({xmlstreamstart, _Name, Attrs}, StateData) ->
StateData,
{xmlelement, "stream:features", [],
[{xmlelement, "bind",
[{"xmlns", ?NS_BIND}], []}]}),
[{"xmlns", ?NS_BIND}], []},
{xmlelement, "session",
[{"xmlns", ?NS_SESSION}], []}]}),
{next_state, wait_for_bind,
StateData#state{lang = Lang}};
_ ->