mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-11-04 09:34:04 +00:00 
			
		
		
		
	Can delete group conversation
This commit is contained in:
		@@ -132,6 +132,8 @@ pub fn delete_member(group_id: &GroupID, user_id: &UserID) -> ResultBoxError {
 | 
			
		||||
        .cond_group_id("groups_id", group_id)
 | 
			
		||||
        .cond_user_id("user_id", user_id)
 | 
			
		||||
        .exec()
 | 
			
		||||
 | 
			
		||||
    // TODO : Update access to group's conversations
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Update a user's membership level
 | 
			
		||||
@@ -141,6 +143,8 @@ pub fn update_membership_level(group_id: &GroupID, user_id: &UserID, new_level:
 | 
			
		||||
        .cond_group_id("groups_id", group_id)
 | 
			
		||||
        .set_u32("level", new_level.to_db())
 | 
			
		||||
        .exec()
 | 
			
		||||
 | 
			
		||||
    // TODO : Update access to group's conversations
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Update following status of a user
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user