federation-api: Remove serde aliases for blurhashes

This commit is contained in:
Timo Kösters 2022-10-12 16:26:02 +02:00 committed by Kévin Commaille
parent 00315d9c48
commit fba6f70c2d

View File

@ -55,11 +55,7 @@ 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",
alias = "blurhash",
skip_serializing_if = "Option::is_none"
)]
#[serde(rename = "xyz.amorgan.blurhash", skip_serializing_if = "Option::is_none")]
pub blurhash: Option<String>,
}
}