summaryrefslogtreecommitdiffstats
path: root/ephraim_conv.erl
diff options
context:
space:
mode:
Diffstat (limited to 'ephraim_conv.erl')
-rw-r--r--ephraim_conv.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/ephraim_conv.erl b/ephraim_conv.erl
index c6243fa..d28cef8 100644
--- a/ephraim_conv.erl
+++ b/ephraim_conv.erl
@@ -12,7 +12,10 @@ loop(State) ->
receive
stop ->
ok;
+ {receive_message, Packet} ->
+ io:format("Received packet from ~p: ~p~n", [State#conv_state.jid, Packet]),
+ loop(State);
Msg ->
- io:format("ephraim_conv: ~p~n", [Msg]),
+ io:format("ephraim_conv (~p): ~p~n", [State#conv_state.jid, Msg]),
loop(State)
end.