Merge pull request 'dont start 'new messages' when convo selected' (#453) from cache3.0 into trunk
continuous-integration/drone/push Build is pending Details

Reviewed-on: #453
This commit is contained in:
Sarah Jamie Lewis 2022-05-01 17:32:16 +00:00
commit 8dd696b6ab
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++;
} }