mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Display icons for all conversations
This commit is contained in:
@ -56,6 +56,9 @@ class Conversation extends SerializableElement<Conversation> {
|
||||
/// Get the list of members in the conversation
|
||||
Set<int> get membersID => members.map((e) => e.userID).toSet();
|
||||
|
||||
/// Get the list of the OTHER members of the conversation (all except current user)
|
||||
Set<int> get otherMembersID => membersID..remove(userID());
|
||||
|
||||
/// Check if the last message has been seen or not
|
||||
bool get sawLastMessage => lastActivity <= membership.lastAccessTime;
|
||||
|
||||
|
Reference in New Issue
Block a user