Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/8441

Vanessace836a245706
diff --git a/app/src/mobile/index.ts b/app/src/mobile/index.ts
index 694be439c3..5f2a751d25 100644
--- a/app/src/mobile/index.ts
+++ b/app/src/mobile/index.ts
@@ -104,10 +104,10 @@ const siyuanApp = new App();
// https://github.com/siyuan-note/siyuan/issues/8441
window.reconnectWebSocket = () => {
- window.siyuan.ws.ws.send("ping");
- window.siyuan.mobile.files.ws.send("ping");
- window.siyuan.mobile.editor.protyle.ws.ws.send("ping");
- window.siyuan.mobile.popEditor.protyle.ws.ws.send("ping");
+ window.siyuan.ws.send("ping", {});
+ window.siyuan.mobile.files.send("ping", {});
+ window.siyuan.mobile.editor.protyle.ws.send("ping", {});
+ window.siyuan.mobile.popEditor.protyle.ws.send("ping", {});
};
window.goBack = goBack;
window.showKeyboardToolbar = (height) => {