BF unsubscribing

This commit is contained in:
a6a2f5842 2025-09-16 13:39:48 +02:00
parent 741cffe03a
commit 5607969ae1
1 changed files with 4 additions and 1 deletions

View File

@ -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' => [