Merge branch 'MTRNord/perf-fix' into 'main'
fix: Remove sorts that shouldnt be required. See merge request famedly/company/frontend/famedlysdk!936
This commit is contained in:
commit
33b1302fc2
|
|
@ -1101,7 +1101,6 @@ class Client extends MatrixApi {
|
|||
_rooms = rooms;
|
||||
_sortRooms();
|
||||
});
|
||||
_sortRooms();
|
||||
accountDataLoading =
|
||||
database.getAccountData().then((data) => accountData = data);
|
||||
presences.clear();
|
||||
|
|
@ -1269,7 +1268,6 @@ class Client extends MatrixApi {
|
|||
if (prevBatch == null) {
|
||||
onFirstSync.add(true);
|
||||
prevBatch = syncResp.nextBatch;
|
||||
_sortRooms();
|
||||
}
|
||||
prevBatch = syncResp.nextBatch;
|
||||
// ignore: unawaited_futures
|
||||
|
|
|
|||
Loading…
Reference in New Issue