mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Adapt to cell data changes
This commit is contained in:
@@ -44,8 +44,9 @@
|
||||
|
||||
- (NSUInteger)notificationCount
|
||||
{
|
||||
MXRoom *room = [self.mxSession roomWithRoomId:self.roomSummary.roomId];
|
||||
// Ignore the regular notification count if the room is in 'mentions only" mode at the Riot level.
|
||||
if (self.roomSummary.room.isMentionsOnly)
|
||||
if (room.isMentionsOnly)
|
||||
{
|
||||
// Only the highlighted missed messages must be considered here.
|
||||
return self.roomSummary.highlightCount;
|
||||
|
||||
Reference in New Issue
Block a user