mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 13:10:16 +08:00
style: remove debug
This commit is contained in:
parent
95ea761b2d
commit
fca2e3c51a
@ -24,7 +24,6 @@ export class GetPrivateFileUrl extends GetPacketStatusDepends<Payload, GetPrivat
|
||||
let msg = await this.core.apis.MsgApi.getMsgsByMsgId(contextMsgFile.peer, [contextMsgFile.msgId]);
|
||||
let self_id = this.core.selfInfo.uid;
|
||||
let file_hash = msg.msgList[0]?.elements.map(ele => ele.fileElement?.file10MMd5)[0];
|
||||
console.log(file_hash,msg)
|
||||
if (file_hash) {
|
||||
return {
|
||||
url: await this.core.apis.PacketApi.pkt.operation.GetPrivateFileUrl(self_id, contextMsgFile.fileUUID, file_hash)
|
||||
@ -32,7 +31,6 @@ export class GetPrivateFileUrl extends GetPacketStatusDepends<Payload, GetPrivat
|
||||
}
|
||||
|
||||
}
|
||||
console.log(contextMsgFile);
|
||||
throw new Error('real fileUUID not found!');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user