This commit is contained in:
Blax Software 2025-01-18 17:03:02 +01:00
parent 238fd9864b
commit 929f1794ee
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class PusherMessageFactory
{ {
$payload = json_decode($message->getPayload()); $payload = json_decode($message->getPayload());
return Str::startsWith($payload->event, 'pusher:') return Str::startsWith($payload->event, 'pusher.')
? new PusherChannelProtocolMessage($payload, $connection, $channelManager) ? new PusherChannelProtocolMessage($payload, $connection, $channelManager)
: new PusherClientMessage($payload, $connection, $channelManager); : new PusherClientMessage($payload, $connection, $channelManager);
} }