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:
@ -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;
|
||||
|
Reference in New Issue
Block a user