From 25437f8a1849a4266193c0fe3788dfe4bc13eb6c Mon Sep 17 00:00:00 2001 From: td Date: Wed, 22 May 2024 22:55:41 +0530 Subject: [PATCH 1/2] fix: nonLocal join/left values --- lib/src/voip/group_call_session.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/voip/group_call_session.dart b/lib/src/voip/group_call_session.dart index 77e5bad7..c58734e9 100644 --- a/lib/src/voip/group_call_session.dart +++ b/lib/src/voip/group_call_session.dart @@ -246,7 +246,8 @@ class GroupCallSession { if (anyJoined.isNotEmpty || anyLeft.isNotEmpty) { if (anyJoined.isNotEmpty) { - final nonLocalAnyJoined = anyJoined..remove(localParticipant); + final nonLocalAnyJoined = Set.from(anyJoined) + ..remove(localParticipant); if (nonLocalAnyJoined.isNotEmpty && state == GroupCallState.entered) { Logs().v( 'nonLocalAnyJoined: ${nonLocalAnyJoined.map((e) => e.id).toString()} roomId: ${room.id} groupCallId: $groupCallId'); @@ -255,7 +256,8 @@ class GroupCallSession { _participants.addAll(anyJoined); } if (anyLeft.isNotEmpty) { - final nonLocalAnyLeft = anyLeft..remove(localParticipant); + final nonLocalAnyLeft = Set.from(anyLeft) + ..remove(localParticipant); if (nonLocalAnyLeft.isNotEmpty && state == GroupCallState.entered) { Logs().v( 'nonLocalAnyLeft: ${nonLocalAnyLeft.map((e) => e.id).toString()} roomId: ${room.id} groupCallId: $groupCallId'); From 54c88646edfc4b1c971a1e0fd36b3f2f97a91382 Mon Sep 17 00:00:00 2001 From: td Date: Wed, 22 May 2024 22:58:16 +0530 Subject: [PATCH 2/2] chore: release v0.29.7 --- CHANGELOG.md | 5 +++++ pubspec.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1620144c..930bacb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.29.7] 22nd May 2024 +- fix: nonLocal join/left values (td) +- fix: Do not set messages as state events anymore (Krille) +- feat: preShareKey using fetchOrCreateGroupCall (td) + ## [0.29.6] 22nd May 2024 - feat: hide _makeNewSenderKey and expose a new preShareKey function (td) diff --git a/pubspec.yaml b/pubspec.yaml index 3cf53a61..7d2447a1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: matrix description: Matrix Dart SDK -version: 0.29.6 +version: 0.29.7 homepage: https://famedly.com repository: https://github.com/famedly/matrix-dart-sdk.git issue_tracker: https://github.com/famedly/matrix-dart-sdk/issues