Don't show games against me when I'm anonymous

This commit is contained in:
Thibault Duplessis 2012-05-30 01:37:59 +02:00
parent 7dcf352d3c
commit 02398f2ed8

View file

@ -40,7 +40,7 @@ object GameFilterMenu extends NonEmptyLists {
val user = info.user
val all = nel(All, List(
(info.user.some != me) option Me,
me.fold(info.user !=, false) option Me,
(info.nbRated > 0) option Rated,
(info.nbWin > 0) option Win,
(info.nbLoss > 0) option Loss,