Skip to content

Commit

Permalink
fix: pass WebSocket instead of Connection to applyAwarenessUpdate (
Browse files Browse the repository at this point in the history
  • Loading branch information
RubaXa authored Dec 18, 2024
1 parent 54af658 commit e359652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/MessageReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class MessageReceiver {
category: 'Update',
})

applyAwarenessUpdate(document.awareness, message.readVarUint8Array(), connection)
applyAwarenessUpdate(document.awareness, message.readVarUint8Array(), connection?.webSocket)

break
}
Expand Down

0 comments on commit e359652

Please sign in to comment.