mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-14 12:20:34 +00:00
fix
This commit is contained in:
parent
4ef457fe6f
commit
e933a95e97
@ -64,6 +64,7 @@ export class NTQQFileApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getFileUrl(chatType: ChatType, peer: string, fileUUID?: string, file10MMd5?: string | undefined) {
|
async getFileUrl(chatType: ChatType, peer: string, fileUUID?: string, file10MMd5?: string | undefined) {
|
||||||
|
if (this.core.apis.PacketApi.available) {
|
||||||
try {
|
try {
|
||||||
if (chatType === ChatType.KCHATTYPEGROUP && fileUUID) {
|
if (chatType === ChatType.KCHATTYPEGROUP && fileUUID) {
|
||||||
return this.core.apis.PacketApi.pkt.operation.GetGroupFileUrl(+peer, fileUUID);
|
return this.core.apis.PacketApi.pkt.operation.GetGroupFileUrl(+peer, fileUUID);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user