From 5194c279d8115593727ba5ad8d1ba44c25bfb397 Mon Sep 17 00:00:00 2001 From: linyuchen Date: Sun, 4 Feb 2024 22:00:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0file?= =?UTF-8?q?://=E6=A0=BC=E5=BC=8F=E7=9A=84=E6=96=87=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E4=BC=9A=E8=AF=AF=E5=88=A0=E5=8E=9F=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer.ts b/src/renderer.ts index ddedbcc..9c50b0e 100644 --- a/src/renderer.ts +++ b/src/renderer.ts @@ -300,7 +300,6 @@ async function listenSendMessage(postData: PostDataSendMsg) { name: group.name, uid: group.uid } - } else { sendMsgResult.status = -1; sendMsgResult.retcode = -1; @@ -360,9 +359,9 @@ async function listenSendMessage(postData: PostDataSendMsg) { } else { localFilePath = path; } + sendFiles.push(localFilePath); } message.file = localFilePath - sendFiles.push(localFilePath); } else if (message.type == "reply") { let msgId = message.data?.id || message.msgId let replyMessage = msgHistory.find(msg => msg.raw.msgId == msgId)