diff --git a/lib/models/contact.dart b/lib/models/contact.dart index 5cbdd5cf..00458100 100644 --- a/lib/models/contact.dart +++ b/lib/models/contact.dart @@ -242,7 +242,9 @@ class ContactInfoState extends ChangeNotifier { unreadMessages++; } if (_newMarkerMsgIndex == -1) { - _newMarkerMsgIndex = 0; + if (!selectedConversation) { + _newMarkerMsgIndex = 0; + } } else { _newMarkerMsgIndex++; }