Skip to content

Commit

Permalink
chore(badge): stop counting contact request in chat section badge
Browse files Browse the repository at this point in the history
Fixes #9152
  • Loading branch information
jrainville committed Jan 17, 2023
1 parent b2328d6 commit dbaa285
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/modules/main/chat_section/module.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dbaa285

Please sign in to comment.