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:
commit
b20f2d3ef0
1 changed files with 1 additions and 0 deletions
|
|
@ -410,6 +410,7 @@ extension ActivityRoomExtension on Room {
|
|||
}
|
||||
|
||||
bool get isActivityStarted =>
|
||||
isActivityFinished ||
|
||||
(activityPlan?.roles.length ?? 0) - (assignedRoles?.length ?? 0) <= 0;
|
||||
|
||||
bool get isActivityFinished {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue