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,
|
text = data.text,
|
||||||
busChan = data.chan match {
|
busChan = data.chan match {
|
||||||
case "tournament" => _.Tournament
|
case "tournament" => _.Tournament
|
||||||
case "swiss" => _.Swiss
|
case _ => _.Swiss
|
||||||
case _ => _.Simul
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue