diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-09-02 20:13:32 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-09-02 20:13:32 +0000 |
commit | dc80fa1562a6e6d732ff27d9187bde46f2daabab (patch) | |
tree | 140b6fec450662c73252e67539bf346029dea9a8 | |
parent | * src/ejabberd_listener.erl: Fixed SSL options (diff) |
* src/ejabberd_s2s_in.erl: Temporary hack for "id" attribute
processing
* src/ejabberd_s2s_out.erl: Likewise
SVN Revision: 134
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ejabberd_s2s_in.erl | 3 | ||||
-rw-r--r-- | src/ejabberd_s2s_out.erl | 3 |
3 files changed, 10 insertions, 2 deletions
@@ -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 diff --git a/src/ejabberd_s2s_in.erl b/src/ejabberd_s2s_in.erl index a7e18540c..97a67e3eb 100644 --- a/src/ejabberd_s2s_in.erl +++ b/src/ejabberd_s2s_in.erl @@ -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>"). diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index e49a00e6e..4313354f1 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -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, |