remove websocket trap
This commit is contained in:
parent
966f00cce0
commit
6e6ee59d78
|
@ -43,7 +43,6 @@ object Round extends LilaController with TheftPrevention with RoundEventPerforme
|
|||
getInt("version"),
|
||||
get("sri"),
|
||||
get("tk"),
|
||||
get("tr") | "-",
|
||||
ctx).unsafePerformIO
|
||||
}
|
||||
|
||||
|
|
|
@ -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) }
|
||||
}
|
||||
|
||||
|
|
|
@ -571,7 +571,7 @@ $.widget("lichess.game", {
|
|||
options: {
|
||||
name: "game"
|
||||
},
|
||||
params: { tk: "--tkph--", tr: "a"},
|
||||
params: { tk: "--tkph--" },
|
||||
events: {
|
||||
ack: function() {
|
||||
clearTimeout(self.socketAckTimeout);
|
||||
|
|
Loading…
Reference in a new issue