Skip to content

Commit

Permalink
quote explorer games as lichess.
Browse files Browse the repository at this point in the history
It avoids overriding user comments.
Also it avoids having to redraw the textarea
if the user is editing the current move comment.
  • Loading branch information
ornicar committed Sep 19, 2017
1 parent 88bce44 commit 652d9b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/study/src/main/ExplorerGame.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ private final class ExplorerGame(
Comment(
id = Comment.Id.make,
text = Comment.Text(gameTitle(game)),
by = Comment.Author.User(author.id, author.titleName)
// by = Comment.Author.User(author.id, author.titleName)
by = Comment.Author.Lichess
).some
}
}
Expand Down

0 comments on commit 652d9b4

Please sign in to comment.