summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_conv.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ephraim_conv.erl')
-rw-r--r--src/core/ephraim_conv.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/ephraim_conv.erl b/src/core/ephraim_conv.erl
index 99c7668..00b2bc1 100644
--- a/src/core/ephraim_conv.erl
+++ b/src/core/ephraim_conv.erl
@@ -7,7 +7,9 @@
-spec init(exmpp_jid:jid()) -> ok.
init(JID) ->
- loop(#conv_state{jid=JID}).
+ io:format("Starting a conversation with ~p~n", [JID]),
+ loop(#conv_state{jid=JID}),
+ io:format("Stopping a conversation with ~p~n", [JID]).
-spec loop(#conv_state{}) -> ok.
loop(State) ->