From 58f77cacdbb6e8df82b1e40fefa5286edb632bb6 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Mon, 28 Feb 2022 12:19:33 +0100 Subject: [PATCH 1/2] 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. --- lib/src/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/client.dart b/lib/src/client.dart index d1dba62b..e607824b 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -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; From adf31428fc3cb7bccf64307712ebde870df84315 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 2 Mar 2022 08:10:05 +0100 Subject: [PATCH 2/2] chore: Bump version --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd4659ae..e53a09b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index ea3f562e..e6c65214 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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