fix: get file by msgId and elemId

This commit is contained in:
Wesley F. Young
2024-08-31 10:34:19 +08:00
parent be6bb404cd
commit 4f27074f22
2 changed files with 3 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ export class OneBotGroupApi {
id: FileNapCatOneBotUUID.encode({
chatType: ChatType.KCHATTYPEGROUP,
peerUid: msg.peerUid,
}, msg.msgSeq, element.elementId),
}, msg.msgId, element.elementId),
name: element.fileElement.fileName,
size: parseInt(element.fileElement.fileSize),
busid: element.fileElement.fileBizId || 0,