From 4e657f8e09fc38607b1e85387aa882ad67a89c6a Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 14 Apr 2022 17:06:15 +0200 Subject: [PATCH 1/2] fix: Ignore no permission errors on requesting users In theory even in invite or left rooms it can be possible to request a room state regarding the spec. In most cases it will throw an error though. --- lib/src/room.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/room.dart b/lib/src/room.dart index 9a37956f..6f6ddba6 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -1451,6 +1451,8 @@ class Room { EventTypes.RoomMember, mxID, ); + } on MatrixException catch (_) { + // Ignore if we have no permission } catch (e, s) { if (!ignoreErrors) { _requestingMatrixIds.remove(mxID); From bd45983b6a47edf6065ec273d269c9cb743d7559 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 14 Apr 2022 17:33:41 +0200 Subject: [PATCH 2/2] chore: Bump version --- CHANGELOG.md | 5 +++++ pubspec.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44482b6d..e01fa683 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.8.19] - 14th Apr 2022 +- feat: Get event from push notification +- feat: Add more localization strings and add default matrix localizations +- fix: Ignore no permission errors on requesting users + ## [0.8.18] - 8th Apr 2022 - feat: check thumbnail size - feat: fallback to thumbnail preview diff --git a/pubspec.yaml b/pubspec.yaml index 8d5cea20..efa63e15 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: matrix description: Matrix Dart SDK -version: 0.8.18 +version: 0.8.19 homepage: https://famedly.com repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git