From 4264eb71cb4b9aeaa9fbe26646a7c7a79f827827 Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Tue, 14 May 2024 14:20:42 +0700 Subject: [PATCH] update --- routes/channels.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/channels.php b/routes/channels.php index 7153b4f8..a9a42bfc 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -13,7 +13,7 @@ use Illuminate\Support\Facades\Broadcast; | */ -Broadcast::channel('chat.{id}', function ($user, $id) { +Broadcast::channel('private-chat.{id}', function ($user, $id) { // return (int) $user->id === (int) $id; return true; });