mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
737709f9e7
@ -353,9 +353,6 @@ export class NTQQFileApi {
|
|||||||
chatType: chatType,
|
chatType: chatType,
|
||||||
peerUid: peerUid,
|
peerUid: peerUid,
|
||||||
}, [msgId]);
|
}, [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 mixElement = msg.msgList.find((msg) => msg.msgId === msgId)?.elements.find((e) => e.elementId === elementId);
|
||||||
const mixElementInner = mixElement?.videoElement ?? mixElement?.fileElement ?? mixElement?.pttElement ?? mixElement?.picElement;
|
const mixElementInner = mixElement?.videoElement ?? mixElement?.fileElement ?? mixElement?.pttElement ?? mixElement?.picElement;
|
||||||
let realPath = mixElementInner?.filePath;
|
let realPath = mixElementInner?.filePath;
|
||||||
|
Loading…
Reference in New Issue
Block a user