summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_roster.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_roster.erl
parentcabc0995c0e0964ecbef18470c6a483022879071 (diff)
downloadephraim-2444ac841fad00133f231e9667ab427c4ce4d39e.tar
ephraim-2444ac841fad00133f231e9667ab427c4ce4d39e.zip
Receiving messages works again (kinda)
Diffstat (limited to 'src/core/ephraim_roster.erl')
-rw-r--r--src/core/ephraim_roster.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ephraim_roster.erl b/src/core/ephraim_roster.erl
index f111f38..605d019 100644
--- a/src/core/ephraim_roster.erl
+++ b/src/core/ephraim_roster.erl
@@ -40,6 +40,8 @@ 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{}.