mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: remark
This commit is contained in:
parent
051729886e
commit
95d1a77f52
@ -11,7 +11,7 @@ export class NTQQFriendApi {
|
|||||||
this.core = core;
|
this.core = core;
|
||||||
}
|
}
|
||||||
async setBuddyRemark(uid: string, remark: string) {
|
async setBuddyRemark(uid: string, remark: string) {
|
||||||
return this.context.session.getBuddyService().setBuddyRemark(uid, remark);
|
return this.context.session.getBuddyService().setBuddyRemark({ uid, remark });
|
||||||
}
|
}
|
||||||
async getBuddyV2SimpleInfoMap(refresh = false) {
|
async getBuddyV2SimpleInfoMap(refresh = false) {
|
||||||
const buddyService = this.context.session.getBuddyService();
|
const buddyService = this.context.session.getBuddyService();
|
||||||
|
@ -36,7 +36,7 @@ export interface NodeIKernelBuddyService {
|
|||||||
|
|
||||||
getBuddyRemark(uid: number): string;
|
getBuddyRemark(uid: number): string;
|
||||||
|
|
||||||
setBuddyRemark(uid: string, remark: string): void;
|
setBuddyRemark(param: { uid: string, remark: string, signInfo?: unknown }): void;
|
||||||
|
|
||||||
getAvatarUrl(uid: number): string;
|
getAvatarUrl(uid: number): string;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user