From dbaa285f4c08e168d15b110605483b6c3c2ca59e Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 17 Jan 2023 10:30:40 -0500 Subject: [PATCH] chore(badge): stop counting contact request in chat section badge Fixes #9152 --- src/app/modules/main/chat_section/module.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/modules/main/chat_section/module.nim b/src/app/modules/main/chat_section/module.nim index 0e89e5b7fe..030c5c2245 100644 --- a/src/app/modules/main/chat_section/module.nim +++ b/src/app/modules/main/chat_section/module.nim @@ -388,7 +388,6 @@ method getChatContentModule*(self: Module, chatId: string): QVariant = proc updateParentBadgeNotifications(self: Module) = var (sectionHasUnreadMessages, sectionNotificationCount) = self.view.chatsModel().getAllNotifications() if(not self.controller.isCommunity()): - sectionNotificationCount += self.view.contactRequestsModel().getCount() sectionHasUnreadMessages = sectionHasUnreadMessages or sectionNotificationCount > 0 self.delegate.onNotificationsUpdated(self.controller.getMySectionId(), sectionHasUnreadMessages, sectionNotificationCount)