federation-api: Deserialize stable names for unstable features
This commit is contained in:
		
							parent
							
								
									0fb3f39c07
								
							
						
					
					
						commit
						ded83663de
					
				| @ -55,7 +55,11 @@ pub mod v1 { | ||||
|             /// This uses the unstable prefix in
 | ||||
|             /// [MSC2448](https://github.com/matrix-org/matrix-spec-proposals/pull/2448).
 | ||||
|             #[cfg(feature = "unstable-msc2448")] | ||||
|             #[serde(rename = "xyz.amorgan.blurhash", skip_serializing_if = "Option::is_none")] | ||||
|             #[serde(
 | ||||
|                 rename = "xyz.amorgan.blurhash", | ||||
|                 alias = "blurhash", | ||||
|                 skip_serializing_if = "Option::is_none" | ||||
|             )] | ||||
|             pub blurhash: Option<String>, | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user