fix game join creator redirect

This commit is contained in:
Thibault Duplessis 2013-06-02 15:00:27 +02:00
parent 8334580ddc
commit 472eed6315
2 changed files with 1 additions and 3 deletions

View file

@ -64,7 +64,7 @@ object Setup extends LilaController with TheftPrevention {
Redirect(routes.Round.watcher(id, game.creatorColor.name)),
_ map {
case (p, events) {
Env.round.roundMap ! lila.hub.actorApi.map.Tell(p.gameId, events)
Env.round.roundMap ! lila.hub.actorApi.map.Tell(p.gameId, lila.round.actorApi.round.Send(events))
Redirect(routes.Round.player(p.fullId))
}
})

2
todo
View file

@ -65,11 +65,9 @@ if game ends during move -> bug
LilaError['[analysis] fred65 already analyses ueogn4fr, won't process ueogn4fr']
unload event http://en.lichess.org/forum/redirect/post/lnsqfhli
-> only rated games
link to best opponents
friend box hide on click http://en.lichess.org/forum/lichess-feedback/new-lichess-1#3
can't delete messages http://www.youtube.com/watch?v=vPNS49ygvCI&feature=youtu.be
preview board should never touch undertables
test that count.* increment works
---