1
This commit is contained in:
parent
ff104610c1
commit
748fe0d0ee
5
server/imserver/cache/cachemgr.go
vendored
5
server/imserver/cache/cachemgr.go
vendored
@ -204,6 +204,11 @@ func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string,
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
for _, friendId := range(GetFriendMgr().GetFriendList(accountId)) {
|
||||||
|
excludeHums[friendId] = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
if recommendType == constant.RECOMMEND_TYPE_BATTLE {
|
if recommendType == constant.RECOMMEND_TYPE_BATTLE {
|
||||||
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)
|
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)
|
||||||
doFunc()
|
doFunc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user