diff --git a/app/controllers/Setup.scala b/app/controllers/Setup.scala index b579b9d715..62d826ae67 100644 --- a/app/controllers/Setup.scala +++ b/app/controllers/Setup.scala @@ -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)) } diff --git a/modules/round/src/main/actorApi.scala b/modules/round/src/main/actorApi.scala index b346928685..04821f6c6b 100644 --- a/modules/round/src/main/actorApi.scala +++ b/modules/round/src/main/actorApi.scala @@ -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 {