mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-31 03:49:11 +00:00
refactor: send client list on patch
This commit is contained in:
committed by
Carlos Valente
parent
6c3ae1f914
commit
8e8d3a7824
@@ -130,6 +130,7 @@ export class SocketServer implements IAdapter {
|
|||||||
if (payload && typeof payload == 'object') {
|
if (payload && typeof payload == 'object') {
|
||||||
this.clients.set(clientId, { ...this.clients.get(clientId), ...payload });
|
this.clients.set(clientId, { ...this.clients.get(clientId), ...payload });
|
||||||
}
|
}
|
||||||
|
this.sendClientList();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user