diff --git a/crates/ruma-common/src/encryption.rs b/crates/ruma-common/src/encryption.rs index f0aa77e7..4b8a85e7 100644 --- a/crates/ruma-common/src/encryption.rs +++ b/crates/ruma-common/src/encryption.rs @@ -93,12 +93,7 @@ pub struct SignedKey { impl SignedKey { /// Creates a new `SignedKey` with the given key and signatures. pub fn new(key: Base64, signatures: SignedKeySignatures) -> Self { - Self { - key, - signatures, - #[cfg(feature = "unstable-pre-spec")] - fallback: false, - } + Self { key, signatures, fallback: false } } /// Creates a new fallback `SignedKey` with the given key and signatures.