* src/ejabberd_s2s_in.erl: Temporary hack for "id" attribute

processing
* src/ejabberd_s2s_out.erl: Likewise

SVN Revision: 134
This commit is contained in:
Alexey Shchepin 2003-09-02 20:13:32 +00:00
parent ee72872087
commit dc80fa1562
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-09-02 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_s2s_in.erl: Temporary hack for "id" attribute
processing
* src/ejabberd_s2s_out.erl: Likewise
2003-08-30 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_listener.erl: Fixed SSL options

View File

@ -46,7 +46,8 @@
"<stream:stream "
"xmlns:stream='http://etherx.jabber.org/streams' "
"xmlns='jabber:server' "
"xmlns:db='jabber:server:dialback'>"
"xmlns:db='jabber:server:dialback' "
"id='todo'>"
).
-define(STREAM_TRAILER, "</stream:stream>").

View File

@ -167,7 +167,8 @@ wait_for_stream({xmlstreamstart, Name, Attrs}, StateData) ->
{xmlelement,
"db:verify",
[{"from", StateData#state.myname},
{"to", StateData#state.server}],
{"to", StateData#state.server},
{"id", "todo"}],
[{xmlcdata, Key2}]})
end,
{next_state, wait_for_validation,