1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
-module(jchat_presence).
-export([start_link/0, init/1, handle_call/3, handle_cast/2, handle_info/2]).
-behaviour(gen_server).
start_link() ->
gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
init([]) ->
{ok, #{}}.
handle_call(_Request, _From, State) ->
{reply, ok, State}.
handle_cast(_Request, State) ->
{noreply, State}.
handle_info(_Info, State) ->
{noreply, State}.
|