Skip to content

Commit ab3554b

Browse files
authored
fix(llc): fixed missing participant roles (#879)
* fixed missing participant roles * added changelog
1 parent 0c07bc1 commit ab3554b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/stream_video/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* Introduced the `onCallDisconnected` callback in `StreamCallContainer`, enabling customization of the default behavior, which invokes `Navigator.pop` upon call disconnection.
1010
* Made `registerDevice()` and `unregisterDevice()` methods publicly available in `PushNotificationManager`.
1111

12+
🐞 Fixed
13+
* Fixed remote participant roles array being empty after joining the call.
14+
1215
## 0.8.0
1316

1417
* Updated minimum Flutter version to 3.27.4

packages/stream_video/lib/src/call/state/mixins/state_sfu_mixin.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ mixin StateSfuMixin on StateNotifier<CallState> {
169169
final isLocal = state.currentUserId == event.participant.userId;
170170
final participant = CallParticipantState(
171171
userId: event.participant.userId,
172-
roles: const [],
172+
roles: event.participant.roles,
173173
name: event.participant.userName,
174174
custom: event.participant.custom,
175175
image: event.participant.userImage,

packages/stream_video_flutter/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* Introduced the `onCallDisconnected` callback in `StreamCallContainer`, enabling customization of the default behavior, which invokes `Navigator.pop` upon call disconnection.
1010
* Made `registerDevice()` and `unregisterDevice()` methods publicly available in `PushNotificationManager`.
1111

12+
🐞 Fixed
13+
* Fixed remote participant roles array being empty after joining the call.
14+
1215
## 0.8.0
1316

1417
* Updated minimum Flutter version to 3.27.4

0 commit comments

Comments
 (0)