dont start 'new messages' when convo selected
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2022-04-30 14:43:45 -07:00
parent af5fb678fc
commit 001ad854c7
1 changed files with 3 additions and 1 deletions

View File

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