This commit is contained in:
手瓜一十雪
2024-10-14 22:08:00 +08:00
parent 27081ae599
commit 10e281ed35
3 changed files with 12 additions and 2 deletions

View File

@@ -10,7 +10,9 @@ export class NTQQFriendApi {
this.context = context;
this.core = core;
}
async setBuddyRemark(uid: string, remark: string) {
return this.context.session.getBuddyService().setBuddyRemark(uid, remark);
}
async getBuddyV2SimpleInfoMap(refresh = false) {
const buddyService = this.context.session.getBuddyService();
const buddyListV2 = refresh ? await buddyService.getBuddyListV2('0', BuddyListReqType.KNOMAL) : await buddyService.getBuddyListV2('0', BuddyListReqType.KNOMAL);