summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_roster.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-02 02:58:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-02 02:58:44 +0200
commit15725caf30a564d33868bf2dccb2c98ea5eb34eb (patch)
tree70c04bbff828163f6e570e351ac058c75bd6221d /src/core/ephraim_roster.erl
parent57a0ca523f0e3a2aa4355636b7ccf60d33f8aaf7 (diff)
downloadephraim-15725caf30a564d33868bf2dccb2c98ea5eb34eb.tar
ephraim-15725caf30a564d33868bf2dccb2c98ea5eb34eb.zip
Added some debug output
Diffstat (limited to 'src/core/ephraim_roster.erl')
-rw-r--r--src/core/ephraim_roster.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ephraim_roster.erl b/src/core/ephraim_roster.erl
index 362b788..502497f 100644
--- a/src/core/ephraim_roster.erl
+++ b/src/core/ephraim_roster.erl
@@ -190,6 +190,7 @@ loop(Roster) ->
ok;
{presence, Packet} ->
+ %io:format("ephraim_roster: Presence: ~p~n", [Packet]),
From = exmpp_xml:get_attribute(Packet, from, <<"unknown">>),
Priority = exmpp_presence:get_priority(Packet),
@@ -214,6 +215,6 @@ loop(Roster) ->
loop(Roster);
Msg ->
- %io:format("ephraim_roster: ~p~n", [Msg]),
+ io:format("ephraim_roster: ~p~n", [Msg]),
loop(Roster)
end.