Skip to content

Commit

Permalink
Register inside Phoenix channels
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jun 13, 2023
1 parent 673f739 commit 9dd4689
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/phoenix/channel/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ defmodule Phoenix.Channel.Server do
def handle_info({Phoenix.Channel, auth_payload, {pid, _} = from, socket}, ref) do
Process.demonitor(ref)
%{channel: channel, topic: topic, private: private} = socket
Process.put(:"$initial_call", {channel, :join, 3})
Process.put(:"$callers", [pid])

socket = %{
Expand Down

0 comments on commit 9dd4689

Please sign in to comment.