client-api: Move support for fallback keys out unstable-pre-spec

This commit is contained in:
Kévin Commaille 2022-02-11 11:42:48 +01:00 committed by GitHub
parent 7a82fc0330
commit 739c3d5b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,8 +99,6 @@ ruma_api! {
///
/// The presence of this field indicates that the server supports
/// fallback keys.
#[cfg(feature = "unstable-pre-spec")]
#[serde(rename = "org.matrix.msc2732.device_unused_fallback_key_types")]
pub device_unused_fallback_key_types: Option<Vec<DeviceKeyAlgorithm>>,
}
@ -125,7 +123,6 @@ impl Response {
to_device: Default::default(),
device_lists: Default::default(),
device_one_time_keys_count: BTreeMap::new(),
#[cfg(feature = "unstable-pre-spec")]
device_unused_fallback_key_types: None,
}
}