mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 22:37:04 +08:00
fix: add collabration cursor (#865)
This commit is contained in:
@@ -173,6 +173,8 @@ export class AffineProvider extends BaseProvider {
|
||||
}://${window.location.host}/api/sync/`;
|
||||
ws = new WebsocketProvider(wsUrl, room, doc, {
|
||||
params: { token: this._apis.token.refresh },
|
||||
// @ts-expect-error ignore the type
|
||||
awareness: workspace.awarenessStore.awareness,
|
||||
});
|
||||
this._wsMap.set(workspace, ws);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user