fix: 好友申请重复推送
This commit is contained in:
1 parent
40196c3262
commit
dcad626256
4 files changed
+16
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -64,6 +64,7 @@ export enum BuddyReqType {
|
||||
}
|
||||
|
||||
export interface FriendRequest {
|
||||
isBuddy?: boolean;
|
||||
isInitiator?: boolean;
|
||||
isDecide: boolean;
|
||||
friendUid: string;
|
||||
|
||||
@@ -65,7 +65,7 @@ export interface NodeIKernelBuddyService {
|
||||
|
||||
delBuddyReq(uid: number): void;
|
||||
|
||||
clearBuddyReqUnreadCnt(): void;
|
||||
clearBuddyReqUnreadCnt(): Promise<GeneralCallResult>;
|
||||
|
||||
reqToAddFriends(uid: number, msg: string): void;
|
||||
|
||||
|
||||
Reference in new issue
Block a user