This commit is contained in:
aozhiwei 2024-03-30 11:03:47 +08:00
parent 3aaba6d688
commit 07bf6d35ff

View File

@ -278,7 +278,10 @@ func (this *friendMgr) AsyncRejectApply(senderId string, targetId string, cb fun
}
func (this *friendMgr) AsynDeleteFriend(senderId string, targetId string, cb func(int32, string)) {
if this.IsFriend(senderId, targetId) {
cb(0, "")
return
}
}
func (this *friendMgr) AsyncAddBlack(senderId string, targetId string, cb func(int32, string)) {