mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-15 04:40:34 +00:00
fix
This commit is contained in:
parent
c6dc86ef8d
commit
8122561337
@ -377,7 +377,7 @@ export class NTQQFileApi {
|
|||||||
online_rkey: false
|
online_rkey: false
|
||||||
};
|
};
|
||||||
try {
|
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)) {
|
if ((!this.packetRkey || this.packetRkey[0].time < Date.now() / 1000)) {
|
||||||
this.packetRkey = await this.core.apis.PacketApi.sendRkeyPacket();
|
this.packetRkey = await this.core.apis.PacketApi.sendRkeyPacket();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user