BF broadcasting server

This commit is contained in:
Fabian @ Blax Software 2026-02-03 15:45:27 +01:00
parent b621a69015
commit 0f54c414a2
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ class BroadcastSocketServer
'data' => $data,
]);
// Get subscribers
$subscribers = $channel->getSubscribedConnections();
// Get subscribers - use getConnections() method from Channel class
$subscribers = $channel->getConnections();
foreach ($subscribers as $connection) {
$socketId = $connection->socketId ?? null;