Merge branch 'krille/fix-sorted-rooms' into 'main'

fix: Rooms sort order after login

Closes famedly-web#274

See merge request famedly/company/frontend/famedlysdk!971
This commit is contained in:
Krille Fear 2022-03-02 07:15:52 +00:00
commit 6dbe62424d
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## [0.8.12] - 02nd Mar 2022
- fix: Rooms sort order after login
- fix: Change password using email authentication
## [0.8.11] - 19nd Feb 2022
- fix: Change password using email authentication

View File

@ -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;

View File

@ -1,6 +1,6 @@
name: matrix
description: Matrix Dart SDK
version: 0.8.11
version: 0.8.12
homepage: https://famedly.com
repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git