diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-10-05 01:44:25 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-10-05 01:44:25 +0200 |
commit | 2444ac841fad00133f231e9667ab427c4ce4d39e (patch) | |
tree | f85d6a82d7aed6aa4d758fc3045858ec8f4452bc /src/core/ephraim_roster.erl | |
parent | cabc0995c0e0964ecbef18470c6a483022879071 (diff) | |
download | ephraim-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.erl | 2 |
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{}. |