chore: Follow up set read marker

This commit is contained in:
krille-chan 2024-08-25 09:02:51 +02:00
parent 75800ccdd5
commit f17b09f56c
No known key found for this signature in database

View file

@ -300,6 +300,9 @@ class ChatController extends State<ChatPageWithRoom>
_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);