BF unsubscribing
This commit is contained in:
parent
741cffe03a
commit
5607969ae1
|
|
@ -111,7 +111,10 @@ class Handler implements MessageComponentInterface
|
||||||
|
|
||||||
$channel = $this->handleChannelSubscriptions($message, $connection);
|
$channel = $this->handleChannelSubscriptions($message, $connection);
|
||||||
|
|
||||||
if (! $channel->hasConnection($connection) ) {
|
if (! $channel->hasConnection($connection) && (
|
||||||
|
$message['event'] !== 'pusher:unsubscribe'
|
||||||
|
&& $message['event'] !== 'pusher.unsubscribe'
|
||||||
|
)) {
|
||||||
return $connection->send(json_encode([
|
return $connection->send(json_encode([
|
||||||
'event' => $message['event'] . ':error',
|
'event' => $message['event'] . ':error',
|
||||||
'data' => [
|
'data' => [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue