fix: use assigned role to fill in roles in open roles indicator (#4499)

This commit is contained in:
ggurdin 2025-10-22 13:45:10 -04:00 committed by GitHub
parent 7d5e84b7be
commit ab6685ebf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,8 +68,7 @@ class ChatListItemSubtitle extends StatelessWidget {
return OpenRolesIndicator(
totalSlots: room.activityPlan!.req.numberOfParticipants,
userIds:
room.activityRoles?.roles.values.map((r) => r.userId).toList() ??
[],
room.assignedRoles?.values.map((r) => r.userId).toList() ?? [],
room: room,
space: room.courseParent,
);