Merge remote-tracking branch 'origin/main'

This commit is contained in:
Wesley F. Young 2024-08-29 22:27:57 +08:00
commit 737709f9e7

View File

@ -353,9 +353,6 @@ export class NTQQFileApi {
chatType: chatType,
peerUid: peerUid,
}, [msgId]);
if (msg.msgList.length === 0) {
return fileTransNotifyInfo.filePath;
}
const mixElement = msg.msgList.find((msg) => msg.msgId === msgId)?.elements.find((e) => e.elementId === elementId);
const mixElementInner = mixElement?.videoElement ?? mixElement?.fileElement ?? mixElement?.pttElement ?? mixElement?.picElement;
let realPath = mixElementInner?.filePath;