From 1db9bb419dd768b33263c402934b6a29fb9039e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 12 Sep 2024 10:55:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=80=E5=A4=84=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot/api/msg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot/api/msg.ts b/src/onebot/api/msg.ts index a2a6a156..826e1d00 100644 --- a/src/onebot/api/msg.ts +++ b/src/onebot/api/msg.ts @@ -186,7 +186,7 @@ export class OneBotMsgApi { data: { file: 'marketface', file_id: FileNapCatOneBotUUID.encode(peer, msg.msgId, elementWrapper.elementId, "." + _.key + ".jpg"), - path: elementWrapper.elementId, + path: url, url: url, file_unique: _.key },