From 43d5b1c52330d798dcd27b75cb31b5615c2a0c36 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Fri, 3 Dec 2021 12:34:52 +0100 Subject: [PATCH 1/2] fix: Add missing calcDisplayname global rules to client constructor This two parameters were already documented but were missing in the constructor. They can also be final. --- lib/src/client.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/client.dart b/lib/src/client.dart index 0aa483f5..d2b9bc88 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -91,9 +91,9 @@ class Client extends MatrixApi { bool requestHistoryOnLimitedTimeline; - bool formatLocalpart = true; + final bool formatLocalpart; - bool mxidLocalPartFallback = true; + final bool mxidLocalPartFallback; // For CommandsClientExtension final Map Function(CommandArgs)> commands = {}; @@ -165,6 +165,8 @@ class Client extends MatrixApi { this.sendMessageTimeoutSeconds = 60, this.requestHistoryOnLimitedTimeline = false, Set? supportedLoginTypes, + this.mxidLocalPartFallback = true, + this.formatLocalpart = true, this.compute, Filter? syncFilter, @deprecated bool? debug, From 247de60f51aef054230cea80954143ca3ac69fd1 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Fri, 3 Dec 2021 12:37:46 +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 9db07699..b5e25213 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.7.0] - 03nd Dec 2021 +- feat: Support for webRTC +- fix: Add missing calcDisplayname global rules to client constructor + ## [0.7.0-nullsafety.10] - 26nd Nov 2021 - feat: Migrate olm sessions on database migration - chore: Enable E2EE recovery by default diff --git a/pubspec.yaml b/pubspec.yaml index c6dbadfe..b5c5424e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: matrix description: Matrix Dart SDK -version: 0.7.0-nullsafety.10 +version: 0.7.0 homepage: https://famedly.com environment: