不推荐自己

back_recharge
wangyuan 2019-08-23 11:31:38 +08:00
parent 6fbb86fad2
commit 28067420f0
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ public class FriendLogic {
List<Integer> recommandFriends = new ArrayList<>();
List<CommonProto.Friend> friendList = new CopyOnWriteArrayList<>();
for(Integer recommandId : onlineUIds){
if(recommandId == uid ){
continue;
}
if (!checkIsAllowRecommandFriend(friendManager, recommandId,recommondIds)){
continue;
}