diff --git a/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts b/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts index 4368d4049cf..af62849cb3f 100644 --- a/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts +++ b/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts @@ -98,7 +98,7 @@ export class TldrawWsService { * @param {WsSharedDocDo} doc */ public updateHandler(update: Uint8Array, origin, doc: WsSharedDocDo): void { - const isOriginWSConn = origin instanceof WebSocket && doc.conns.has(origin); + const isOriginWSConn = origin instanceof WebSocket; console.log('Origin: ', origin); console.log('doc.conns: ', doc.conns); console.log('Update Handler, isOriginWSConn: ', isOriginWSConn);