Fix read reciepts

This commit is contained in:
JHansen 2023-05-08 12:02:15 +00:00
parent 71bd195c62
commit ae4dee8133

View file

@ -376,6 +376,10 @@ class ChatController extends State<ChatPageWithRoom> {
room.setTyping(false); room.setTyping(false);
currentlyTyping = 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 // then set the new sending client
setState(() => sendingClient = c); setState(() => sendingClient = c);
} }