From c4bccfe17e8d5eb8f0efc5a9ea86755787a0f4f1 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 2 Feb 2022 21:17:07 +0100 Subject: [PATCH] common: Remove leftover feature gate --- crates/ruma-common/src/encryption.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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.