Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: remove doc state check that download from remote
nathan5a003612076c
diff --git a/frontend/rust-lib/collab-integrate/src/collab_builder.rs b/frontend/rust-lib/collab-integrate/src/collab_builder.rsindex 7d7f967d24..d29ba8452e 100644--- a/frontend/rust-lib/collab-integrate/src/collab_builder.rs+++ b/frontend/rust-lib/collab-integrate/src/collab_builder.rs@@ -208,23 +208,11 @@ impl AppFlowyCollabBuilder {#[allow(unused_variables)] persistence_config: CollabPersistenceConfig,build_config: CollabBuilderConfig,) -> Result<Arc<MutexCollab>, Error> {- let is_from_doc_state = matches!(collab_doc_state, DocStateSource::FromDocState(_));let collab = CollabBuilder::new(uid, object_id).with_doc_state(collab_doc_state).with_device_id(self.device_id.clone()).build()?;- // If the object is from doc state, we need to validate the object type- if is_from_doc_state {- if let Err(err) = object_type.validate(&collab.lock()) {- error!(- "{:?} validation failed: {}, object_id: {}",- object_type, err, object_id- );- return Err(err);- }- }-#[cfg(target_arch = "wasm32")]{collab.lock().add_plugin(Box::new(IndexeddbDiskPlugin::new(