fix
This commit is contained in:
1 parent
307cb13519
commit
7bcff34562
1 file changed
+1
-1
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user