BF has connection on null
This commit is contained in:
parent
f09143e1d1
commit
4155e05d76
|
|
@ -111,7 +111,7 @@ class Handler implements MessageComponentInterface
|
||||||
|
|
||||||
$channel = $this->handleChannelSubscriptions($message, $connection);
|
$channel = $this->handleChannelSubscriptions($message, $connection);
|
||||||
|
|
||||||
if (! $channel->hasConnection($connection) && !(
|
if (! optional($channel)->hasConnection($connection) && !(
|
||||||
$message['event'] !== 'pusher:unsubscribe'
|
$message['event'] !== 'pusher:unsubscribe'
|
||||||
&& $message['event'] !== 'pusher.unsubscribe'
|
&& $message['event'] !== 'pusher.unsubscribe'
|
||||||
)) {
|
)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue