Revert "Lower NTQQ build check from 41679 to 39038"
Release NapCat / validate-version (push) Canceled after 0s
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s
Release NapCat / validate-version (push) Canceled after 0s
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s
This reverts commit 280aac5c75.
This commit is contained in:
1 parent
dc8b85da1c
commit
49b5496406
1 file changed
+2
-2
@@ -18,7 +18,7 @@ export class NTQQFriendApi {
|
|||||||
async getBuddyV2SimpleInfoMap () {
|
async getBuddyV2SimpleInfoMap () {
|
||||||
const buddyService = this.context.session.getBuddyService();
|
const buddyService = this.context.session.getBuddyService();
|
||||||
let uids: string[] = [];
|
let uids: string[] = [];
|
||||||
if (this.core.context.basicInfoWrapper.requireMinNTQQBuild('39038')) {
|
if (this.core.context.basicInfoWrapper.requireMinNTQQBuild('41679')) {
|
||||||
const buddyListV2NT = await buddyService.getBuddyListV2('0', true, BuddyListReqType.KNOMAL);
|
const buddyListV2NT = await buddyService.getBuddyListV2('0', true, BuddyListReqType.KNOMAL);
|
||||||
uids = buddyListV2NT.data.flatMap(item => item.buddyUids);
|
uids = buddyListV2NT.data.flatMap(item => item.buddyUids);
|
||||||
} else {
|
} else {
|
||||||
@@ -55,7 +55,7 @@ export class NTQQFriendApi {
|
|||||||
const buddyService = this.context.session.getBuddyService();
|
const buddyService = this.context.session.getBuddyService();
|
||||||
let uids: string[] = [];
|
let uids: string[] = [];
|
||||||
let buddyListV2: Awaited<ReturnType<typeof buddyService.getBuddyListV2>>['data'];
|
let buddyListV2: Awaited<ReturnType<typeof buddyService.getBuddyListV2>>['data'];
|
||||||
if (this.core.context.basicInfoWrapper.requireMinNTQQBuild('39038')) {
|
if (this.core.context.basicInfoWrapper.requireMinNTQQBuild('41679')) {
|
||||||
buddyListV2 = (await buddyService.getBuddyListV2('0', true, BuddyListReqType.KNOMAL)).data;
|
buddyListV2 = (await buddyService.getBuddyListV2('0', true, BuddyListReqType.KNOMAL)).data;
|
||||||
uids = buddyListV2.flatMap(item => item.buddyUids);
|
uids = buddyListV2.flatMap(item => item.buddyUids);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user