summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_roster.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 04:06:52 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 04:06:52 +0200
commite6d184833a8c46d3ecd3a407c66c561bb0d47123 (patch)
treec4b1a36bdbc71a12add3bb5871a2c8e6fe7ec2f2 /src/core/ephraim_roster.erl
parent3d451b3dc69d91b04c1153f63436b63940287b13 (diff)
downloadephraim-e6d184833a8c46d3ecd3a407c66c561bb0d47123.tar
ephraim-e6d184833a8c46d3ecd3a407c66c561bb0d47123.zip
Don't connect before all event handlers are set up
Diffstat (limited to 'src/core/ephraim_roster.erl')
-rw-r--r--src/core/ephraim_roster.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/ephraim_roster.erl b/src/core/ephraim_roster.erl
index 6c6a229..955b108 100644
--- a/src/core/ephraim_roster.erl
+++ b/src/core/ephraim_roster.erl
@@ -40,8 +40,6 @@ init({EventManager, Connection}) ->
process_flag(trap_exit, true),
ephraim_roster_handler:start(EventManager, self()),
- io:format("Getting roster...~n"),
- ephraim_conn:send_packet(Connection, exmpp_client_roster:get_roster("foo")),
{ok, #roster_state{event_manager=EventManager,connection=Connection,entries=dict:new()}}.
-spec updateResource(#roster_state{}, binary(), integer(), atom(), atom(), binary()) -> #roster_state{}.