aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/channels/user_socket.ex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/channels/user_socket.ex')
-rw-r--r--shardweb/lib/channels/user_socket.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/shardweb/lib/channels/user_socket.ex b/shardweb/lib/channels/user_socket.ex
index b4136bd..04cc584 100644
--- a/shardweb/lib/channels/user_socket.ex
+++ b/shardweb/lib/channels/user_socket.ex
@@ -4,7 +4,8 @@ defmodule ShardWeb.UserSocket do
require Logger
## Channels
- channel "room:*", ShardWeb.ChatChannel
+ channel "chat:*", ShardWeb.ChatChannel
+ channel "privchat:*", ShardWeb.ChatChannel
## Transports
transport :websocket, Phoenix.Transports.WebSocket