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