mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Fix issue with empty links in banners
This commit is contained in:
		| @@ -195,7 +195,11 @@ impl Config { | ||||
|                     .collect(), | ||||
|                 link: parsed_banner["link"].as_str() | ||||
|                     .map(str::to_string) | ||||
|                     .map(Self::parse_string_val), | ||||
|                     .map(Self::parse_string_val) | ||||
|                     .and_then(|s| match s.is_empty() { | ||||
|                         true => None, | ||||
|                         false => Some(s) | ||||
|                     }), | ||||
|             }) | ||||
|         }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user