From bea3b8485fd428150ab17f9ef671645d63c0c3dc 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: Sun, 13 Oct 2024 17:32:49 +0800 Subject: [PATCH] fix --- src/core/apis/file.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/apis/file.ts b/src/core/apis/file.ts index ecf221ce..81606d3f 100644 --- a/src/core/apis/file.ts +++ b/src/core/apis/file.ts @@ -382,8 +382,8 @@ export class NTQQFileApi { this.packetRkey = await this.core.apis.PacketApi.sendRkeyPacket(); } if (this.packetRkey.length > 0) { - rkeyData.group_rkey = this.packetRkey[1].rkey; - rkeyData.private_rkey = this.packetRkey[0].rkey; + rkeyData.group_rkey = this.packetRkey[1].rkey.slice(6); + rkeyData.private_rkey = this.packetRkey[0].rkey.slice(6); rkeyData.online_rkey = true; } }