From ce836a2457060d8d77c258f12582876353ca0666 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 3 Jun 2023 12:01:31 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/8441 --- app/src/mobile/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/mobile/index.ts b/app/src/mobile/index.ts index 694be439c..5f2a751d2 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) => {