feat: temporary support loading data for public workspace

This commit is contained in:
alt0 committed 2023-01-11 20:20:48 +08:00
1 parent 7e77175679
commit 8b757f538e
3 files changed
+38 -1

No files matched your search

@@ -116,6 +116,11 @@ export class AffineProvider extends BaseProvider {
}
}
override async loadPublicWorkspace(blocksuiteWorkspace: BlocksuiteWorkspace) {
await this._applyCloudUpdates(blocksuiteWorkspace);
return blocksuiteWorkspace;
}
override async warpWorkspace(workspace: BlocksuiteWorkspace) {
await this._applyCloudUpdates(workspace);
const { room } = workspace;