summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-08-17 00:22:21 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-08-17 00:22:21 +0200
commit6ec7efc36f44dfddff4c9d843cd4c70cffb95837 (patch)
tree35475563668e508b711517827fba6e2aeb54a0a3 /src/core
parenteb4193538b99cf9d49ad0650b1bb816844361ab5 (diff)
downloadephraim-6ec7efc36f44dfddff4c9d843cd4c70cffb95837.tar
ephraim-6ec7efc36f44dfddff4c9d843cd4c70cffb95837.zip
Many improvements to roster view
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ephraim.erl2
-rw-r--r--src/core/ephraim_roster.erl3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/core/ephraim.erl b/src/core/ephraim.erl
index c8783f0..c59be72 100644
--- a/src/core/ephraim.erl
+++ b/src/core/ephraim.erl
@@ -143,7 +143,7 @@ loop(State) ->
{iq, response, result, _, 'vcard-temp', Payload, _, _, 'jabber:client'} ->
State#state.roster ! {vcard_iq, From, Payload};
_ ->
- io:format("ephraim: IQ from ~p: ~p~n", [From, IQ])
+ ok %io:format("ephraim: IQ from ~p: ~p~n", [From, IQ])
end,
loop(State);
diff --git a/src/core/ephraim_roster.erl b/src/core/ephraim_roster.erl
index aa31fd1..362b788 100644
--- a/src/core/ephraim_roster.erl
+++ b/src/core/ephraim_roster.erl
@@ -125,7 +125,6 @@ handleRosterIQ(Roster, Item) ->
Subscription = binary_to_atom(exmpp_xml:get_attribute(Item, subscription, undefined), utf8),
ephraim ! {send_packet, exmpp_stanza:set_recipient(exmpp_iq:get('jabber:client', #xmlel{ns='vcard-temp',name='vCard'}), JID)},
- io:format("ephraim_roster: ~p~n", [exmpp_stanza:set_recipient(exmpp_iq:get('jabber:client', #xmlel{ns='vcard-temp',name='vCard'}), JID)]),
updateRosterEntry(Roster, JID, Name, Subscription, Groups).
@@ -215,6 +214,6 @@ loop(Roster) ->
loop(Roster);
Msg ->
- io:format("ephraim_roster: ~p~n", [Msg]),
+ %io:format("ephraim_roster: ~p~n", [Msg]),
loop(Roster)
end.