fix: Rooms sort order after login
A two years old workaround prevented the room sorting for the initial sync. But this is definitely no longer needed.
This commit is contained in:
parent
7005a4ae68
commit
58f77cacdb
|
|
@ -1744,7 +1744,7 @@ class Client extends MatrixApi {
|
|||
.compareTo(a.timeCreated.millisecondsSinceEpoch);
|
||||
|
||||
void _sortRooms() {
|
||||
if (prevBatch == null || _sortLock || rooms.length < 2) return;
|
||||
if (_sortLock || rooms.length < 2) return;
|
||||
_sortLock = true;
|
||||
rooms.sort(sortRoomsBy);
|
||||
_sortLock = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue