This commit is contained in:
2024-05-14 15:11:31 +07:00
parent db0850b835
commit 04fb81c1f2

View File

@@ -34,7 +34,7 @@ class ChatMessageSent implements ShouldBroadcast
*/
public function broadcastOn()
{
return new Channel('chat'. $this->message->channel_id);
return new PrivateChannel('chat'. $this->message->channel_id);
}