mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Add the badge value for Home tab bar item.
Fix the missed discussion count
This commit is contained in:
@@ -54,18 +54,6 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
// Ignore regular notification count if the room is in 'mentions only" mode
|
||||
- (NSUInteger)notificationCount
|
||||
{
|
||||
if (self.room.isMentionsOnly)
|
||||
{
|
||||
// Only the highlighted missed messages are counted
|
||||
return super.highlightCount;
|
||||
}
|
||||
|
||||
return super.notificationCount;
|
||||
}
|
||||
|
||||
- (void)didReceiveReceiptEvent:(MXEvent *)receiptEvent roomState:(MXRoomState *)roomState
|
||||
{
|
||||
// Override this callback to force rendering of each cell with read receipts information.
|
||||
@@ -84,8 +72,6 @@
|
||||
cellData.hasReadReceipts = YES;
|
||||
}
|
||||
|
||||
|
||||
// Let super handle this receipt
|
||||
[super didReceiveReceiptEvent:receiptEvent roomState:roomState];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user