chg: pkg: add some changes on BE - add eslint and editorconfig - and add some deps #4
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user