Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/9090

Vanessa3ae8e53b5a06
diff --git a/app/src/mobile/util/onMessage.ts b/app/src/mobile/util/onMessage.ts
index 1b7ea53f14..cf8681ff04 100644
--- a/app/src/mobile/util/onMessage.ts
+++ b/app/src/mobile/util/onMessage.ts
@@ -30,7 +30,7 @@ export const onMessage = (app: App, data: IWebSocketData) => {
break;
case"syncing":
processSync(data);
- if (data.code !== 0) {
+ if (data.code === 1) {
document.getElementById("toolbarSync").classList.add("fn__none");
}
break;