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