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:
giomfo
2016-08-31 15:47:34 +02:00
parent d2de2371ab
commit bfc7e723b2
@@ -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;