diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ephraim.erl | 2 | ||||
-rw-r--r-- | src/core/ephraim_roster.erl | 3 |
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. |