fix: User presence is not updated when leaving a document
This commit is contained in:
@@ -202,3 +202,7 @@ export type WebsocketEvent =
|
||||
| WebsocketCollectionUpdateIndexEvent
|
||||
| WebsocketEntityDeletedEvent
|
||||
| WebsocketEntitiesEvent;
|
||||
|
||||
export type AwarenessChangeEvent = {
|
||||
states: { user: { id: string }; cursor: any; scrollY: number | undefined }[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user