Public-chat page: remove "simul" channel

They were removed from the public-chat page
pull/9924/head
kraktus 2021-10-03 16:01:59 +02:00
parent 1d6fc99b03
commit 87344eeb32
2 changed files with 2 additions and 3 deletions

View File

@ -163,8 +163,7 @@ final class ChatApi(
text = data.text,
busChan = data.chan match {
case "tournament" => _.Tournament
case "swiss" => _.Swiss
case _ => _.Simul
case _ => _.Swiss
}
)
}

View File

@ -100,7 +100,7 @@ object ChatTimeout {
val form = Form(
mapping(
"roomId" -> nonEmptyText,
"chan" -> lila.common.Form.stringIn(Set("tournament", "simul", "swiss")),
"chan" -> lila.common.Form.stringIn(Set("tournament", "swiss")),
"userId" -> nonEmptyText,
"reason" -> nonEmptyText,
"text" -> nonEmptyText