mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Can change group visibility.
This commit is contained in:
		@@ -336,6 +336,9 @@ class GroupsComponent {
 | 
			
		||||
        if($settings->has_logo())
 | 
			
		||||
            $data["path_logo"] = $settings->get_logo();
 | 
			
		||||
 | 
			
		||||
        if($settings->has_visibility())
 | 
			
		||||
            $data["visibility"] = $settings->get_visibility();
 | 
			
		||||
 | 
			
		||||
        return $data;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ class GroupInfo extends BaseUniqueObject {
 | 
			
		||||
    private $number_members = -1;
 | 
			
		||||
	private $logo;
 | 
			
		||||
	private $membership_level = -1;
 | 
			
		||||
	private $visiblity;
 | 
			
		||||
	private $visiblity = -1;
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
    //Get and set the name of group
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user