From a305c81479b2c6eb0f40ba3d12563bbb63e59e32 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 27 Nov 2024 08:48:40 -0600 Subject: [PATCH] Update PusherPubSubIncomingMessageHandler.php --- src/Protocols/Pusher/PusherPubSubIncomingMessageHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Protocols/Pusher/PusherPubSubIncomingMessageHandler.php b/src/Protocols/Pusher/PusherPubSubIncomingMessageHandler.php index 5cc5725..aba121e 100644 --- a/src/Protocols/Pusher/PusherPubSubIncomingMessageHandler.php +++ b/src/Protocols/Pusher/PusherPubSubIncomingMessageHandler.php @@ -15,6 +15,7 @@ public function handle(string $payload): void $event = json_decode($payload, associative: true, flags: JSON_THROW_ON_ERROR); $application = unserialize($event['application']); + $except = isset($event['socket_id']) ? app(ChannelManager::class)->for($application)->connections()[$event['socket_id']] ?? null : null;