mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-08 03:59:00 +08:00
fix
This commit is contained in:
parent
c6dc86ef8d
commit
8122561337
@ -377,7 +377,7 @@ export class NTQQFileApi {
|
||||
online_rkey: false
|
||||
};
|
||||
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)) {
|
||||
this.packetRkey = await this.core.apis.PacketApi.sendRkeyPacket();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user