diff --git a/app/controllers/Round.scala b/app/controllers/Round.scala index 5a35bea1f3..5c5911544a 100644 --- a/app/controllers/Round.scala +++ b/app/controllers/Round.scala @@ -43,7 +43,6 @@ object Round extends LilaController with TheftPrevention with RoundEventPerforme getInt("version"), get("sri"), get("tk"), - get("tr") | "-", ctx).unsafePerformIO } diff --git a/app/round/Socket.scala b/app/round/Socket.scala index d421847e6e..3b111ac9c6 100644 --- a/app/round/Socket.scala +++ b/app/round/Socket.scala @@ -120,9 +120,7 @@ final class Socket( version: Option[Int], uid: Option[String], token: Option[String], - trap: String, ctx: Context): IO[SocketPromise] = { - if (trap != "a") println("[websocket] trap %s %s".format(fullId, ctx.toString)) getPlayerPov(fullId) map { join(_, true, version, uid, token, ctx) } } diff --git a/public/javascripts/big.js b/public/javascripts/big.js index 95078f025f..ec36d48119 100644 --- a/public/javascripts/big.js +++ b/public/javascripts/big.js @@ -571,7 +571,7 @@ $.widget("lichess.game", { options: { name: "game" }, - params: { tk: "--tkph--", tr: "a"}, + params: { tk: "--tkph--" }, events: { ack: function() { clearTimeout(self.socketAckTimeout);