1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Can update following status of a group

This commit is contained in:
2020-04-15 18:39:07 +02:00
parent 566f205dc9
commit add1712b7d
5 changed files with 79 additions and 6 deletions

View File

@ -29,7 +29,7 @@ class Group {
final GroupRegistrationLevel registrationLevel;
final GroupPostCreationLevel postCreationLevel;
final String virtualDirectory;
final bool following;
bool following;
Group({
@required this.id,
@ -54,7 +54,7 @@ class Group {
get displayName => this.name;
bool get getIsAtLeastMember =>
bool get isAtLeastMember =>
membershipLevel == GroupMembershipLevel.ADMINISTRATOR ||
membershipLevel == GroupMembershipLevel.MODERATOR ||
membershipLevel == GroupMembershipLevel.MEMBER;