Skip to content

Commit

Permalink
notify about both players lacking fide ID
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 9, 2024
1 parent cd8368d commit 207d533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/relay/src/main/RelayNotifyMissingFideId.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private final class RelayNotifyMissingFideIds(api: RelayApi, irc: IrcApi, previe
val missing: List[(StudyChapterId, String)] = chapters.flatMap: chapter =>
chapter.players
.so(_.toList)
.find(_.fideId.isEmpty)
.filter(_.fideId.isEmpty)
.map: player =>
(chapter.id, player.name.fold("?")(_.value))
missing.nonEmpty.so:
Expand Down

0 comments on commit 207d533

Please sign in to comment.