diff options
Diffstat (limited to 'src/core/ephraim_account.erl')
-rw-r--r-- | src/core/ephraim_account.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ephraim_account.erl b/src/core/ephraim_account.erl index 2e95f88..b71cb08 100644 --- a/src/core/ephraim_account.erl +++ b/src/core/ephraim_account.erl @@ -13,6 +13,9 @@ start_link(Account) -> {ok, Connection} = supervisor:start_child(Pid, {connection, {ephraim_conn, start_link, [EventManager]}, permanent, 10000, worker, [ephraim_conn]}), {ok, Roster} = supervisor:start_child(Pid, {roster, {ephraim_roster, start_link, [EventManager, Connection]}, permanent, 1000, worker, [ephraim_roster]}), {ok, _} = supervisor:start_child(Pid, {conv_man, {ephraim_conv_man, start_link, [EventManager, Connection, Roster]}, permanent, 1000, supervisor, [ephraim_conv_man]}), + + ephraim_conn:connect(Connection), + {ok, Pid}. init(_Args) -> |