refactor: 移除异常代码
Build Release / check-version (push) Canceled after 0s
Build Release / build-linux (arm64, linux) (push) Canceled after 0s
Build Release / build-linux (x64, linux) (push) Canceled after 0s
Build Release / build-win32 (ia32, win32) (push) Canceled after 0s
Build Release / build-win32 (x64, win32) (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s

This commit is contained in:
手瓜一十雪 committed 2024-07-10 21:39:03 +08:00
1 parent f9a60795f5
commit 914136b750
1 file changed
+2 -1
+2 -1
View File
@@ -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);