From 11149d27431d28250048f61463aefe270f8275b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 14 Oct 2024 09:07:03 +0800 Subject: [PATCH] fix --- src/core/apis/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {