mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Return the members list public status
This commit is contained in:
		| @@ -15,6 +15,7 @@ pub struct AdvancedGroupApi { | ||||
|     #[serde(flatten)] | ||||
|     base_info: GroupApi, | ||||
|  | ||||
|     is_members_list_public: bool, | ||||
|     time_create: u64, | ||||
|     description: String, | ||||
|     url: String, | ||||
| @@ -27,6 +28,7 @@ impl AdvancedGroupApi { | ||||
|     pub fn new(g: &Group, user_id: Option<UserID>) -> ResultBoxError<AdvancedGroupApi> { | ||||
|         Ok(AdvancedGroupApi { | ||||
|             base_info: GroupApi::new(g, user_id.clone())?, | ||||
|             is_members_list_public: g.is_members_list_public, | ||||
|             time_create: g.time_create, | ||||
|             description: g.description.clone().unwrap_or("null".to_string()), | ||||
|             url: g.url.clone().unwrap_or("null".to_string()), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user