From 6c155092a45cf11f0f9937abcb8e312b482aa5ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Mon, 4 Jul 2022 14:03:49 +0200 Subject: [PATCH] fix(nim/module): fix default tooltip for Chat section provide the default "Chat" name for the personal chat --- src/app/modules/main/module.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/main/module.nim b/src/app/modules/main/module.nim index 0533e16423..84180f4604 100644 --- a/src/app/modules/main/module.nim +++ b/src/app/modules/main/module.nim @@ -201,7 +201,7 @@ proc createChannelGroupItem[T](self: Module[T], c: ChannelGroupDto): SectionItem result = initItem( c.id, if isCommunity: SectionType.Community else: SectionType.Chat, - c.name, + if isCommunity: c.name else: "Chat", c.admin, c.description, c.introMessage,