This commit is contained in:
手瓜一十雪 committed 2024-10-14 22:08:00 +08:00
1 parent 20a222ca76
commit 97a1bd4794
3 files changed
+12 -2

No files matched your search

+3 -1
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);
+1 -1
View File
@@ -36,7 +36,7 @@ export interface NodeIKernelBuddyService {
getBuddyRemark(uid: number): string;
setBuddyRemark(uid: number, remark: string): void;
setBuddyRemark(uid: string, remark: string): void;
getAvatarUrl(uid: number): string;