Fix read reciepts

This commit is contained in:
JHansen 2023-05-08 12:02:15 +00:00
parent d0d33ce2c8
commit 25f5d5f4fd

View File

@ -376,6 +376,10 @@ class ChatController extends State<ChatPageWithRoom> {
room.setTyping(false);
currentlyTyping = false;
}
// then cancel the old timeline
// fixes bug with read reciepts and quick switching
loadTimelineFuture = _getTimeline(eventContextId: room.fullyRead);
// then set the new sending client
setState(() => sendingClient = c);
}