chore(badge): stop counting contact request in chat section badge
Fixes #9152
This commit is contained in:
parent
b2328d6643
commit
dbaa285f4c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue