-module(ephraim_conv). -compile([debug_info, export_all]). -record(conv_state, { jid :: binary() }). init(JID) -> loop(#conv_state{jid=JID}). loop(State) -> receive stop -> ok; Msg -> io:format("ephraim_conv: ~p~n", [Msg]), loop(State) end.