diff options
author | Jordan Bracco <href@random.sh> | 2022-12-17 13:47:11 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | fd4afd7c7acd9b5fda75b628a7e19d0149d8b889 (patch) | |
tree | df571d49fa9dc9c3cd58c94033b9fc81c7b7f8ec /lib/lsg_web/channels/user_socket.ex | |
parent | Rename to Nola, pt. 1. Refs T77 (diff) |
Nola rename cont. pt. 2. Refs T77.
`find lib -name "*.ex" -type f | xargs sed -i '' 's/LSG/Nola/g'`
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/channels/user_socket.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lsg_web/channels/user_socket.ex b/lib/lsg_web/channels/user_socket.ex index 691a26c..eadd4e0 100644 --- a/lib/lsg_web/channels/user_socket.ex +++ b/lib/lsg_web/channels/user_socket.ex @@ -1,8 +1,8 @@ -defmodule LSGWeb.UserSocket do +defmodule NolaWeb.UserSocket do use Phoenix.Socket ## Channels - # channel "room:*", LSGWeb.RoomChannel + # channel "room:*", NolaWeb.RoomChannel ## Transports #transport :websocket, Phoenix.Transports.WebSocket @@ -30,7 +30,7 @@ defmodule LSGWeb.UserSocket do # Would allow you to broadcast a "disconnect" event and terminate # all active sockets and channels for a given user: # - # LSGWeb.Endpoint.broadcast("user_socket:#{user.id}", "disconnect", %{}) + # NolaWeb.Endpoint.broadcast("user_socket:#{user.id}", "disconnect", %{}) # # Returning `nil` makes this socket anonymous. def id(_socket), do: nil |