1
This commit is contained in:
parent
3aaba6d688
commit
07bf6d35ff
@ -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)) {
|
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)) {
|
func (this *friendMgr) AsyncAddBlack(senderId string, targetId string, cb func(int32, string)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user