mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-20 07:49:59 +02:00
@@ -29,7 +29,7 @@ class Portal {
|
||||
}
|
||||
});
|
||||
this.socket.on("new-user", async (_socketID: string) => {
|
||||
this.app.broadcastScene(SCENE.INIT);
|
||||
this.app.broadcastScene(SCENE.INIT, /* syncAll */ true);
|
||||
});
|
||||
this.socket.on("room-user-change", (clients: string[]) => {
|
||||
this.app.setCollaborators(clients);
|
||||
|
Reference in New Issue
Block a user