Broadcast channel pattern question #51600
Unanswered
maclonghorn
asked this question in
General
Replies: 1 comment 1 reply
-
Replace dot with dash? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can we setup a channel pattern where one of the tokens may contain a "dot"? For example, we use email address for user name, so if we want a channel for a specific user, the channel config would be ($user is authenticated user from JWT token):
In our case the channel is "[email protected]", so
channelNameMatchesPattern
(from /Illuminate/Broadcasting/Broadcasters/Broadcaster.php) returns false.We just upgraded to Laravel 10 from 8, where it was working fine.
Beta Was this translation helpful? Give feedback.
All reactions