From 1eb5cd6237d4e0ee25476ebe882622ca506667a4 Mon Sep 17 00:00:00 2001 From: pk5ls20 Date: Sun, 27 Oct 2024 09:04:24 +0800 Subject: [PATCH] fix: downloadRawMsgMedia edge case --- src/core/apis/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/apis/file.ts b/src/core/apis/file.ts index f1363a07..cd193c98 100644 --- a/src/core/apis/file.ts +++ b/src/core/apis/file.ts @@ -344,7 +344,7 @@ export class NTQQFileApi { filePath: thumbPath, }], () => true, - (arg) => arg.msgId === msgId, + (arg) => arg.msgElementId === elementId && arg.msgId === msgId, 1, timeout, );