summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_account.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 01:44:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 01:44:25 +0200
commit2444ac841fad00133f231e9667ab427c4ce4d39e (patch)
treef85d6a82d7aed6aa4d758fc3045858ec8f4452bc /src/core/ephraim_account.erl
parentcabc0995c0e0964ecbef18470c6a483022879071 (diff)
downloadephraim-2444ac841fad00133f231e9667ab427c4ce4d39e.tar
ephraim-2444ac841fad00133f231e9667ab427c4ce4d39e.zip
Receiving messages works again (kinda)
Diffstat (limited to 'src/core/ephraim_account.erl')
-rw-r--r--src/core/ephraim_account.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ephraim_account.erl b/src/core/ephraim_account.erl
index d79e118..8024d68 100644
--- a/src/core/ephraim_account.erl
+++ b/src/core/ephraim_account.erl
@@ -9,6 +9,8 @@ start_link() ->
{ok, EventManager} = supervisor:start_child(Pid, {event_man, {gen_event, start_link, []}, permanent, 1000, worker, [gen_event]}),
ephraim_account_event_proxy:start(EventManager),
+ {ok, _} = supervisor:start_child(Pid, {conv_man, {ephraim_conv_man, start_link, [EventManager]}, permanent, 1000, supervisor, [ephraim_conv_man]}),
+
{ok, Connection} = supervisor:start_child(Pid, {connection, {ephraim_conn, start_link, [EventManager]}, permanent, 10000, worker, [ephraim_conn]}),
{ok, _} = supervisor:start_child(Pid, {roster, {ephraim_roster, start_link, [EventManager, Connection]}, permanent, 1000, worker, [ephraim_roster]}),
{ok, Pid}.