mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-09-13 06:50:02 +08:00
add usualConfig`
This commit is contained in:
parent
08f3a79e6e
commit
2800eef199
@ -174,9 +174,11 @@ func (s *friendServer) AddFriend(ctx context.Context, req *pbFriend.AddFriendReq
|
|||||||
for _, v2 := range userIDList2 {
|
for _, v2 := range userIDList2 {
|
||||||
if v2 == req.CommID.ToUserID {
|
if v2 == req.CommID.ToUserID {
|
||||||
isSend = false
|
isSend = false
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
//Cannot add non-existent users
|
//Cannot add non-existent users
|
||||||
|
Loading…
x
Reference in New Issue
Block a user