diff --git a/src/core/apis/file.ts b/src/core/apis/file.ts index 81606d3f..d14697d2 100644 --- a/src/core/apis/file.ts +++ b/src/core/apis/file.ts @@ -377,7 +377,7 @@ export class NTQQFileApi { online_rkey: false }; try { - if (this.core.apis.PacketApi.PacketClient?.isConnected) { + if (this.core.apis.PacketApi.packetClient?.isConnected) { if ((!this.packetRkey || this.packetRkey[0].time < Date.now() / 1000)) { this.packetRkey = await this.core.apis.PacketApi.sendRkeyPacket(); }