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/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'); 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