Skip to content

Commit e359652

Browse files
authored
fix: pass WebSocket instead of Connection to applyAwarenessUpdate (#882)
1 parent 54af658 commit e359652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/MessageReceiver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class MessageReceiver {
6565
category: 'Update',
6666
})
6767

68-
applyAwarenessUpdate(document.awareness, message.readVarUint8Array(), connection)
68+
applyAwarenessUpdate(document.awareness, message.readVarUint8Array(), connection?.webSocket)
6969

7070
break
7171
}

0 commit comments

Comments
 (0)