diff --git a/lib/src/message_list_view.dart b/lib/src/message_list_view.dart index f4ab3103..56d246bf 100644 --- a/lib/src/message_list_view.dart +++ b/lib/src/message_list_view.dart @@ -523,6 +523,7 @@ class _MessageListViewState extends State { _bottomPaginationActive = false; _topPaginationActive = false; streamChannel.reloadChannel(); + streamChannel.channel.markRead(); } else { setState(() => _showScrollToBottom = false); _scrollController.scrollTo( @@ -654,7 +655,8 @@ class _MessageListViewState extends State { onVisibilityChanged: (visibility) { final isVisible = visibility.visibleBounds != Rect.zero; if (isVisible && !_bottomWasVisible) { - if (streamChannel.channel.config?.readEvents == true && + if (streamChannel.channel.state.isUpToDate && + streamChannel.channel.config?.readEvents == true && streamChannel.channel.state.unreadCount > 0) { streamChannel.channel.markRead(); }