fix(@desktop/community): update new category handling

Fixes #7380
This commit is contained in:
PavelS 2022-09-17 17:45:09 +03:00 committed by PavelS
parent 19391d9052
commit a51a980635
1 changed files with 2 additions and 2 deletions

View File

@ -238,8 +238,8 @@ QtObject:
result = @[]
for chat in community.chats:
if (chat.categoryId == categoryId):
let fullChatId = community.id & chat.id
var chatDetails = self.chatService.getChatById(fullChatId)
# TODO: chat.id already contains community.id here but it was not expected, this requires investigation
var chatDetails = self.chatService.getChatById(chat.id)
result.add(chatDetails)
proc handleCommunitiesSettingsUpdates(self: Service, communitiesSettings: seq[CommunitySettingsDto]) =