Updated the dashboard logger

This commit is contained in:
Alex Renoki 2020-09-16 11:09:14 +03:00
parent 97ab241fa3
commit 049950f015
1 changed files with 6 additions and 6 deletions

View File

@ -74,13 +74,13 @@ class PresenceChannel extends PrivateChannel
$connection->app->id $connection->app->id
); );
} }
});
DashboardLogger::log($connection->app->id, DashboardLogger::TYPE_SUBSCRIBED, [ DashboardLogger::log($connection->app->id, DashboardLogger::TYPE_SUBSCRIBED, [
'socketId' => $connection->socketId, 'socketId' => $connection->socketId,
'channel' => $this->getName(), 'channel' => $this->getName(),
'multi-device' => isset($connection->duplicate), 'duplicate-connection' => count($sockets) > 1,
]); ]);
});
} }
/** /**