diff options
Diffstat (limited to 'ephraim_conv.erl')
-rw-r--r-- | ephraim_conv.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ephraim_conv.erl b/ephraim_conv.erl index d28cef8..99c7668 100644 --- a/ephraim_conv.erl +++ b/ephraim_conv.erl @@ -2,12 +2,14 @@ -compile([debug_info, export_all]). -record(conv_state, { - jid :: binary() + jid :: exmpp_jid:jid() }). +-spec init(exmpp_jid:jid()) -> ok. init(JID) -> loop(#conv_state{jid=JID}). +-spec loop(#conv_state{}) -> ok. loop(State) -> receive stop -> |