fix: 好友申请重复推送

This commit is contained in:
手瓜一十雪 committed 2024-08-24 11:26:05 +08:00
1 parent 40196c3262
commit dcad626256
4 files changed
+16 -5

No files matched your search

+3 -1
View File
@@ -70,7 +70,9 @@ export class NTQQFriendApi {
async isBuddy(uid: string) {
return this.context.session.getBuddyService().isBuddy(uid);
}
async clearBuddyReqUnreadCnt(){
return this.context.session.getBuddyService().clearBuddyReqUnreadCnt();
}
/**
* @deprecated
* @param forced
+1
View File
@@ -64,6 +64,7 @@ export enum BuddyReqType {
}
export interface FriendRequest {
isBuddy?: boolean;
isInitiator?: boolean;
isDecide: boolean;
friendUid: string;
+1 -1
View File
@@ -65,7 +65,7 @@ export interface NodeIKernelBuddyService {
delBuddyReq(uid: number): void;
clearBuddyReqUnreadCnt(): void;
clearBuddyReqUnreadCnt(): Promise<GeneralCallResult>;
reqToAddFriends(uid: number, msg: string): void;