From a51a9806359229502562330f8d4c685607068986 Mon Sep 17 00:00:00 2001 From: PavelS Date: Sat, 17 Sep 2022 17:45:09 +0300 Subject: [PATCH] fix(@desktop/community): update new category handling Fixes #7380 --- src/app_service/service/community/service.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_service/service/community/service.nim b/src/app_service/service/community/service.nim index dd4501d4a3..f3ba5e80b4 100644 --- a/src/app_service/service/community/service.nim +++ b/src/app_service/service/community/service.nim @@ -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]) =