feat: Add read marker

This commit is contained in:
Krille 2023-03-23 15:02:32 +01:00
commit d630238142
7 changed files with 29 additions and 6 deletions

View file

@ -143,6 +143,7 @@ class ChatView extends StatelessWidget {
final client = controller.matrix!.client;
controller.sendingClient ??= client;
controller.room = controller.sendingClient!.getRoomById(controller.roomId!);
controller.readMarkerEventId ??= controller.room!.fullyRead;
if (controller.room == null) {
return Scaffold(
appBar: AppBar(