chore(badge): stop counting contact request in chat section badge

Fixes #9152
This commit is contained in:
Jonathan Rainville 2023-01-17 10:30:40 -05:00
parent b2328d6643
commit dbaa285f4c
1 changed files with 0 additions and 1 deletions

View File

@ -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)