From 914136b750f25b0e3cd436a361910cd60dd32273 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: Wed, 10 Jul 2024 21:39:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/src/apis/user.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/src/apis/user.ts b/src/core/src/apis/user.ts index f5db8cf7..bb236742 100644 --- a/src/core/src/apis/user.ts +++ b/src/core/src/apis/user.ts @@ -173,7 +173,8 @@ export class NTQQUserApi { let uid = ret.uidInfo.get(Uin); //通过QQ默认方式转换 if (!uid) { Array.from(friends.values()).forEach((t) => { - if (t.uid == Uin) { + if (t.uin == Uin) { + //logDebug('getUidByUin', t.uid, t.uin, Uin); uid = t.uid; } //console.log(t.uid, t.uin, Uin);