add usualConfig`

This commit is contained in:
wangchuxiao 2022-11-10 18:41:16 +08:00
parent 08f3a79e6e
commit 2800eef199

View File

@ -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