Avoid counting chats twice that are actually unread and additionally manually marked as unread. Also fix some corner cases. Change-Id: I0bc8a3bcdb8b658618b627648eec34305e66082b
Avoid counting chats twice that are actually unread and additionally manually marked as unread. Also fix some corner cases. Change-Id: I0bc8a3bcdb8b658618b627648eec34305e66082b