mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix
This commit is contained in:
parent
86bfd990db
commit
11149d2743
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user