mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
* src/ejabberd_s2s.erl: API improvement: Added s2s_connect_hook (EJAB-566).
SVN Revision: 1232
This commit is contained in:
parent
04aec272db
commit
295da9cf02
@ -1,3 +1,8 @@
|
|||||||
|
2008-03-15 Mickael Remond <mremond@process-one.net>
|
||||||
|
|
||||||
|
* src/ejabberd_s2s.erl: API improvement: Added s2s_connect_hook
|
||||||
|
(EJAB-566).
|
||||||
|
|
||||||
2008-03-13 Badlop <badlop@process-one.net>
|
2008-03-13 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
* src/odbc/ejabberd_odbc.erl: Start ODBC explicitely because
|
* src/odbc/ejabberd_odbc.erl: Start ODBC explicitely because
|
||||||
|
@ -359,6 +359,7 @@ new_connection(MyServer, Server, From, FromTo,
|
|||||||
TRes = mnesia:transaction(F),
|
TRes = mnesia:transaction(F),
|
||||||
case TRes of
|
case TRes of
|
||||||
{atomic, Pid} ->
|
{atomic, Pid} ->
|
||||||
|
ejabberd_hooks:run(s2s_connect_hook, [MyServer, Server]),
|
||||||
ejabberd_s2s_out:start_connection(Pid);
|
ejabberd_s2s_out:start_connection(Pid);
|
||||||
_ ->
|
_ ->
|
||||||
ejabberd_s2s_out:stop_connection(Pid)
|
ejabberd_s2s_out:stop_connection(Pid)
|
||||||
|
Loading…
Reference in New Issue
Block a user