mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-12-03 22:06:29 +00:00
16 lines
237 B
Elixir
16 lines
237 B
Elixir
|
defmodule Phoenix.Presence.Client.Mock do
|
||
|
|
||
|
def init(_opts) do
|
||
|
{:ok, %{}}
|
||
|
end
|
||
|
|
||
|
def handle_join(_topic, _key, _meta, state) do
|
||
|
{:ok, state}
|
||
|
end
|
||
|
|
||
|
def handle_leave(_topic, _key, _meta, state) do
|
||
|
{:ok, state}
|
||
|
end
|
||
|
|
||
|
end
|