mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Delete conversation => leave conversation
This commit is contained in:
		@@ -50,6 +50,9 @@ class Conversation extends SerializableElement<Conversation> {
 | 
			
		||||
  /// Check out whether current user of the application is an admin
 | 
			
		||||
  bool get isAdmin => membership.isAdmin;
 | 
			
		||||
 | 
			
		||||
  /// Check if current user is the last admin of the conversation
 | 
			
		||||
  bool get isLastAdmin => isAdmin && adminsID.length == 1;
 | 
			
		||||
 | 
			
		||||
  /// Check it current user is following the conversation or not
 | 
			
		||||
  bool get following => membership.following;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user