fix: error

This commit is contained in:
手瓜一十雪
2024-08-12 17:14:44 +08:00
parent 70273f9c81
commit 6659daa8fe
2 changed files with 2 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ export class NTQQUserApi {
//后期改成流水线处理
async getUidByUinV2(Uin: string) {
let uid = (await this.context.session.getProfileService().getUidByUinV2('FriendsServiceImpl', [Uin])).get(Uin);
let uid = (await this.context.session.getProfileService().getUidByUin('FriendsServiceImpl', [Uin])).get(Uin);
if (uid) return uid;
uid = (await this.context.session.getGroupService().getUidByUins([Uin])).uids.get(Uin);
if (uid) return uid;