mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Bug Fix - We should put an unread room count next to the back button
#467 Ignore the current room in the missed discussions count.
This commit is contained in:
@@ -2601,6 +2601,12 @@
|
||||
{
|
||||
NSUInteger count = [MXKRoomDataSourceManager missedDiscussionsCount];
|
||||
|
||||
if (count && self.roomDataSource.notificationCount)
|
||||
{
|
||||
// Remove the current room from the missed discussion counter
|
||||
count--;
|
||||
}
|
||||
|
||||
if (force || missedDiscussionsCount != count)
|
||||
{
|
||||
missedDiscussionsCount = count;
|
||||
|
||||
Reference in New Issue
Block a user