diff --git a/lib/pangea/course_chats/course_chats_page.dart b/lib/pangea/course_chats/course_chats_page.dart index 664b57ed7..3baab1d07 100644 --- a/lib/pangea/course_chats/course_chats_page.dart +++ b/lib/pangea/course_chats/course_chats_page.dart @@ -143,6 +143,14 @@ class CourseChatsController extends State continue; } + // If any user has archived the activity, don't show it. + // It's possible for users to finish an activity and then for some of the + // users to leave, but if the activity was archived by anyone, that means + // it was full at some point. + if (summary.activityRoles.roles.values.any((role) => role.isArchived)) { + continue; + } + sessionsMap[activity] ??= []; sessionsMap[activity]!.add( ExtendedSpaceRoomsChunk( diff --git a/pubspec.yaml b/pubspec.yaml index 042d69637..3a069a75b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ description: Learn a language while texting your friends. # Pangea# publish_to: none # On version bump also increase the build number for F-Droid -version: 4.1.15+2 +version: 4.1.15+3 environment: sdk: ">=3.0.0 <4.0.0"