presence_channel.ex 175 Bytes
Newer Older
Jens-Christian Fischer's avatar
Jens-Christian Fischer committed
1
2
3
4
5
6
7
8
9
10
defmodule Grains.PresenceChannel do

  use Grains.Web, :channel
  alias Grains.Concounter

  def join("presence:" <> user_id, _params, socket) do
    {:ok, socket}
  end

end