refactor(chat-communities): hidden chats of Profile chat type are excluded from the model
This commit is contained in:
parent
d67278b23e
commit
813f6d0062
|
@ -56,7 +56,7 @@ proc addSubmodule(self: Module, chatId: string, belongToCommunity: bool, events:
|
||||||
|
|
||||||
proc buildChatUI(self: Module, events: EventEmitter, chatService: chat_service.Service,
|
proc buildChatUI(self: Module, events: EventEmitter, chatService: chat_service.Service,
|
||||||
communityService: community_service.Service, messageService: message_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)
|
let chats = self.controller.getChatDetailsForChatTypes(types)
|
||||||
|
|
||||||
var selectedItemId = ""
|
var selectedItemId = ""
|
||||||
|
|
Loading…
Reference in New Issue