fix: get file by msgId and elemId

This commit is contained in:
Wesley F. Young committed 2024-08-31 10:34:19 +08:00
1 parent f5e7288fe5
commit 92f8eaaac9
2 files changed
+3 -2

No files matched your search

+1 -1
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,