This commit is contained in:
Marcel Pociot 2018-11-22 17:42:25 +01:00
parent 22309974a9
commit fc622bc626
1 changed files with 4 additions and 2 deletions

View File

@ -28,8 +28,10 @@ class Message implements RespondableMessage
public function respond()
{
if (starts_with($this->payload->event, 'client-')) {
$channel = $this->channelManager->find($this->connection->appId, $this->payload->channel);
optional($channel)->broadcast($this->payload);
}
}
}