add usualConfig`

pull/351/head
wangchuxiao 3 years ago
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…
Cancel
Save