Merge branch 'krille/dont-request-room-state-invite' into 'main'

fix: Only request room state if membership equals join

See merge request famedly/company/frontend/famedlysdk!1010
This commit is contained in:
Krille Fear 2022-04-14 15:40:18 +00:00
commit 6d9d1a3bd7
3 changed files with 8 additions and 1 deletions

View File

@ -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 ## [0.8.18] - 8th Apr 2022
- feat: check thumbnail size - feat: check thumbnail size
- feat: fallback to thumbnail preview - feat: fallback to thumbnail preview

View File

@ -1451,6 +1451,8 @@ class Room {
EventTypes.RoomMember, EventTypes.RoomMember,
mxID, mxID,
); );
} on MatrixException catch (_) {
// Ignore if we have no permission
} catch (e, s) { } catch (e, s) {
if (!ignoreErrors) { if (!ignoreErrors) {
_requestingMatrixIds.remove(mxID); _requestingMatrixIds.remove(mxID);

View File

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