mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-12-02 21:36:27 +00:00
18 lines
296 B
Elixir
18 lines
296 B
Elixir
|
defmodule Phoenix.Presence.Client.Mock do
|
||
|
|
||
|
def init(_opts) do
|
||
|
{:ok, %{}}
|
||
|
end
|
||
|
|
||
|
def handle_join(_topic, _key, _meta, state) do
|
||
|
IO.inspect(:handle_join)
|
||
|
{:ok, state}
|
||
|
end
|
||
|
|
||
|
def handle_leave(_topic, _key, _meta, state) do
|
||
|
IO.inspect(:handle_leave)
|
||
|
{:ok, state}
|
||
|
end
|
||
|
|
||
|
end
|