Private
Public Access
1
0

chg: pkg: add some changes on BE - add eslint and editorconfig - and add some deps #4

This commit is contained in:
2026-04-09 15:01:38 +02:00
parent fa0fc0743d
commit 4cdca43ecc
8 changed files with 10604 additions and 51 deletions

View File

@@ -75,7 +75,7 @@ class TopicManager extends WebsocketManager implements TopicManagerInterface
{
/** this will broadcast the message to ALL subscribers of this topic. */
$user = $this->clientManipulator->getClient($connection);
$userName = $user->getUserIdentifier();
$userName = $user->getUserIdentifier() ?: 'anon_' . $connection->resourceId;
/** if more user wants to connect than 2 to one channel */
if ($topic->count() > 2) {