Merge pull request #4594 from pangeachat/4593-activity-becomes-un-done-when-one-of-the-members-leave

fix: if activity is considered famous, don't revent to 'start activit…
This commit is contained in:
ggurdin 2025-11-04 09:22:28 -05:00 committed by GitHub
commit b20f2d3ef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -410,6 +410,7 @@ extension ActivityRoomExtension on Room {
}
bool get isActivityStarted =>
isActivityFinished ||
(activityPlan?.roles.length ?? 0) - (assignedRoles?.length ?? 0) <= 0;
bool get isActivityFinished {