fix join challenge notification

This commit is contained in:
Thibault Duplessis 2014-06-03 10:26:54 +02:00
parent e44f214966
commit 8226a02a29
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ object Setup extends LilaController with TheftPrevention with play.api.http.Cont
},
_ map {
case (p, events) => {
Env.hub.socket.round ! lila.hub.actorApi.map.Tell(p.gameId, events)
Env.hub.socket.round ! lila.hub.actorApi.map.Tell(p.gameId, lila.round.actorApi.EventList(events))
implicit val req = ctx.req
redirectPov(p, routes.Round.player(p.fullId))
}

View file

@ -9,7 +9,7 @@ import lila.game.{ Game, Event, PlayerRef }
import lila.socket.SocketMember
import lila.user.User
private[round] case class EventList(events: List[Event])
case class EventList(events: List[Event])
sealed trait Member extends SocketMember {