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, text = data.text,
busChan = data.chan match { busChan = data.chan match {
case "tournament" => _.Tournament case "tournament" => _.Tournament
case "swiss" => _.Swiss case _ => _.Swiss
case _ => _.Simul
} }
) )
} }

View File

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