diff --git a/src/app/modules/main/chat_section/module.nim b/src/app/modules/main/chat_section/module.nim index 58915b4dfc..66fa600e0a 100644 --- a/src/app/modules/main/chat_section/module.nim +++ b/src/app/modules/main/chat_section/module.nim @@ -146,8 +146,7 @@ proc buildChatSectionUI( colorHash = self.controller.getColorHash(chatDto.id) colorId = self.controller.getColorId(chatDto.id) - let amIChatAdmin = self.amIMarkedAsAdminUser(chatDto.members) - + let amIChatAdmin = (self.amIMarkedAsAdminUser(chatDto.members) or channelGroup.admin) let channelItem = initItem(chatDto.id, chatName, chatImage, chatDto.color, chatDto.emoji, chatDto.description, chatDto.chatType.int, amIChatAdmin, hasNotification, notificationsCount, chatDto.muted, blocked, chatDto.active, chatDto.position,