fix: Request history in archived rooms

We have just forgotten to
set the prevBatch token in
the room object.
This commit is contained in:
Krille Fear 2021-11-22 10:37:26 +01:00
parent ffb4540172
commit 27c03b4fad
1 changed files with 1 additions and 0 deletions

View File

@ -775,6 +775,7 @@ class Client extends MatrixApi {
leftRoom,
));
});
leftRoom.prev_batch = room.timeline?.prevBatch;
room.state?.forEach((event) {
leftRoom.setState(Event.fromMatrixEvent(
event,