summaryrefslogtreecommitdiff
path: root/lib/lsg_web/channels/user_socket.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/channels/user_socket.ex6
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