summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_conv.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-06-17 16:23:15 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-06-17 16:23:15 +0200
commit0671f09eb9c44aae49bb438a19a1de3abd1c0202 (patch)
tree8e081dc433fbeb784ddeef8f46b51ab9a107a0e1 /src/core/ephraim_conv.erl
parentbdaae5b6704e29919ec7f284b9e3abe54f96f2f8 (diff)
downloadephraim-0671f09eb9c44aae49bb438a19a1de3abd1c0202.tar
ephraim-0671f09eb9c44aae49bb438a19a1de3abd1c0202.zip
Improved interaction between core and GUI
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) ->