summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_conn.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-06-25 06:14:12 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-06-25 06:14:12 +0200
commitfe332740f7c0be59d4ede7097e5bd1eabbf40e39 (patch)
tree57479ec89da0817bc043c8938ce27041607214a9 /src/core/ephraim_conn.erl
parent3eb7e7688dea39fa83f41c1f9aba79a962ef1a15 (diff)
downloadephraim-fe332740f7c0be59d4ede7097e5bd1eabbf40e39.tar
ephraim-fe332740f7c0be59d4ede7097e5bd1eabbf40e39.zip
Chatting works now
Diffstat (limited to 'src/core/ephraim_conn.erl')
-rw-r--r--src/core/ephraim_conn.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ephraim_conn.erl b/src/core/ephraim_conn.erl
index bce4d07..7a6ddae 100644
--- a/src/core/ephraim_conn.erl
+++ b/src/core/ephraim_conn.erl
@@ -53,6 +53,10 @@ loop(State) ->
ephraim ! {receive_iq, IQ},
loop(State);
+ {send_packet, Packet} ->
+ exmpp_session:send_packet(State#conn_state.session, Packet),
+ loop(State);
+
Msg ->
io:format("ephraim_conn: ~p~n", [Msg]),
loop(State)