Add options to hide self and non-talking clients

This commit is contained in:
Jaggernaut555
2023-01-10 17:57:55 -08:00
parent 230ce8f2e2
commit 9a68fca2c7
5 changed files with 8 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ function handleAuthMessage(data) {
parseClientInfos(data.payload.connections[0].clientInfos)
);
thisClient = clientList.getById(data.payload.connections[0].clientId);
selfClient = data.payload.connections[0].clientInfos.find((client) => client.id == data.payload.connections[0].clientId);
}
function handleClientMoved(data) {