mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can change conversation visibility
This commit is contained in:
@ -35,6 +35,7 @@ class AdvancedGroupInfo extends Group implements LikeElement {
|
||||
@required this.url,
|
||||
@required this.likes,
|
||||
@required this.userLike,
|
||||
@required this.conversations,
|
||||
}) : super(
|
||||
id: id,
|
||||
name: name,
|
||||
|
@ -77,6 +77,8 @@ class Conversation extends SerializableElement<Conversation> {
|
||||
/// Check out whether a conversation is managed or not
|
||||
bool get isManaged => groupID != null;
|
||||
|
||||
bool get hasLogo => logoURL != null;
|
||||
|
||||
Conversation.fromJson(Map<String, dynamic> map)
|
||||
: id = map["id"],
|
||||
name = map["name"],
|
||||
|
Reference in New Issue
Block a user