refactor(communities): edit categories

This commit is contained in:
Richard Ramos 2022-02-01 11:31:05 -04:00
parent aa6036b78b
commit b21d2c5618
1 changed files with 1 additions and 0 deletions

View File

@ -669,6 +669,7 @@ method prepareEditCategoryModel*(self: Module, categoryId: string) =
let c = self.controller.getChatDetails(communityId, chat.id)
let item = initItem(c.id, c.name, "", false, c.color, c.description, c.chatType.int, false,
false, 0, c.muted, false, active = false, c.position, "")
self.view.editCategoryChannelsModel().appendItem(item)
let catChats = self.controller.getChats(communityId, categoryId)
for chat in catChats: