wip
This commit is contained in:
parent
22309974a9
commit
fc622bc626
|
|
@ -28,8 +28,10 @@ class Message implements RespondableMessage
|
||||||
|
|
||||||
public function respond()
|
public function respond()
|
||||||
{
|
{
|
||||||
|
if (starts_with($this->payload->event, 'client-')) {
|
||||||
$channel = $this->channelManager->find($this->connection->appId, $this->payload->channel);
|
$channel = $this->channelManager->find($this->connection->appId, $this->payload->channel);
|
||||||
|
|
||||||
optional($channel)->broadcast($this->payload);
|
optional($channel)->broadcast($this->payload);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue