refactor(chat-communities): hidden chats of Profile chat type are excluded from the model

This commit is contained in:
Sale Djenic 2021-11-09 16:03:29 +01:00
parent d67278b23e
commit 813f6d0062
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ proc addSubmodule(self: Module, chatId: string, belongToCommunity: bool, events:
proc buildChatUI(self: Module, events: EventEmitter, chatService: chat_service.Service,
communityService: community_service.Service, messageService: message_service.Service) =
let types = @[ChatType.OneToOne, ChatType.Public, ChatType.PrivateGroupChat, ChatType.Profile]
let types = @[ChatType.OneToOne, ChatType.Public, ChatType.PrivateGroupChat]
let chats = self.controller.getChatDetailsForChatTypes(types)
var selectedItemId = ""