Public-chat page: remove "simul" channel
They were removed from the public-chat pagepull/9924/head
parent
1d6fc99b03
commit
87344eeb32
|
@ -163,8 +163,7 @@ final class ChatApi(
|
|||
text = data.text,
|
||||
busChan = data.chan match {
|
||||
case "tournament" => _.Tournament
|
||||
case "swiss" => _.Swiss
|
||||
case _ => _.Simul
|
||||
case _ => _.Swiss
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue