From f17b09f56c20e2776daaa3cab1b7af9fa7ee240e Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 25 Aug 2024 09:02:51 +0200 Subject: [PATCH] chore: Follow up set read marker --- lib/pages/chat/chat.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index a373b87ea..7772e5f65 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -300,6 +300,9 @@ class ChatController extends State _showScrollUpMaterialBanner(readMarkerEventId); } + // Mark room as read on first visit if requirements are fulfilled + setReadMarker(); + if (!mounted) return; } catch (e, s) { ErrorReporter(context, 'Unable to load timeline').onErrorCallback(e, s);