mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: getfile
This commit is contained in:
parent
e1e4d038d9
commit
f14726ed1a
@ -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;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"http": {
|
||||
"enable": false,
|
||||
"enable": true,
|
||||
"host": "",
|
||||
"port": 3000,
|
||||
"secret": "",
|
||||
@ -9,7 +9,7 @@
|
||||
"postUrls": []
|
||||
},
|
||||
"ws": {
|
||||
"enable": false,
|
||||
"enable": true,
|
||||
"host": "",
|
||||
"port": 3001
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user