dont start 'new messages' when convo selected #453

Merged
sarah merged 1 commits from cache3.0 into trunk 2022-05-01 17:32:17 +00:00
1 changed files with 3 additions and 1 deletions

View File

@ -242,7 +242,9 @@ class ContactInfoState extends ChangeNotifier {
unreadMessages++;
}
if (_newMarkerMsgIndex == -1) {
_newMarkerMsgIndex = 0;
if (!selectedConversation) {
_newMarkerMsgIndex = 0;
}
} else {
_newMarkerMsgIndex++;
}