fix: sortAtTheEnd for LeftRoomUpdate was not set
This fixes a bug where requesting history on archived room leads to a wrong sorted timeline.
This commit is contained in:
parent
e1343e9c83
commit
5621c9bdb0
|
|
@ -1305,7 +1305,8 @@ class Client extends MatrixApi {
|
|||
await _handleRoomEvents(
|
||||
id,
|
||||
room.timeline.events.map((i) => i.toJson()).toList(),
|
||||
EventUpdateType.timeline);
|
||||
EventUpdateType.timeline,
|
||||
sortAtTheEnd: sortAtTheEnd);
|
||||
handledEvents = true;
|
||||
}
|
||||
if (room.accountData?.isNotEmpty ?? false) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue