fixing private channel

This commit is contained in:
2024-05-15 10:13:05 +07:00
parent 9d116e8765
commit 8bcc3fe15d
2 changed files with 2 additions and 3 deletions

View File

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