forked from cwtch.im/cwtch-ui
Merge pull request 'dont start 'new messages' when convo selected' (#453) from cache3.0 into trunk
Reviewed-on: cwtch.im/cwtch-ui#453
This commit is contained in:
commit
8dd696b6ab
|
@ -242,7 +242,9 @@ class ContactInfoState extends ChangeNotifier {
|
|||
unreadMessages++;
|
||||
}
|
||||
if (_newMarkerMsgIndex == -1) {
|
||||
if (!selectedConversation) {
|
||||
_newMarkerMsgIndex = 0;
|
||||
}
|
||||
} else {
|
||||
_newMarkerMsgIndex++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue