change team chat name

This commit is contained in:
Thibault Duplessis 2020-04-26 11:39:23 -06:00
parent 03e40a96fc
commit 0e2557c822

View file

@ -45,7 +45,7 @@ object show {
"socketVersion" -> v.value,
"chat" -> views.html.chat.json(
chat.chat,
name = trans.chatRoom.txt(),
name = if (t.isChatFor(_.LEADERS)) "Leaders chat" else trans.chatRoom.txt(),
timeout = chat.timeout,
public = true,
resourceId = lila.chat.Chat.ResourceId(s"team/${chat.chat.id}")