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

Can update admin status of a user

This commit is contained in:
2021-03-13 11:02:44 +01:00
parent bd73e265cc
commit fdec22c28a
3 changed files with 34 additions and 2 deletions

View File

@ -66,6 +66,9 @@ class Conversation extends SerializableElement<Conversation> {
/// Check if the last message has been seen or not
bool get sawLastMessage => lastActivity <= membership.lastAccessTime;
/// Check out whether a conversation is managed or not
bool get isManaged => groupID != null;
Conversation.fromJson(Map<String, dynamic> map)
: id = map["id"],
name = map["name"],