From 7f345bf39d696b9561518f6d84fa23bbdc89d653 Mon Sep 17 00:00:00 2001 From: strawberry Date: Wed, 2 Oct 2024 21:52:14 -0400 Subject: [PATCH] fix building without unstable-msc2409 feature Signed-off-by: strawberry --- crates/ruma-appservice-api/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ruma-appservice-api/src/lib.rs b/crates/ruma-appservice-api/src/lib.rs index 701c5ef2..80187a5f 100644 --- a/crates/ruma-appservice-api/src/lib.rs +++ b/crates/ruma-appservice-api/src/lib.rs @@ -158,6 +158,7 @@ impl From for Registration { sender_localpart, namespaces, rate_limited, + #[cfg(feature = "unstable-msc2409")] receive_ephemeral, protocols, } = init; @@ -169,6 +170,7 @@ impl From for Registration { sender_localpart, namespaces, rate_limited, + #[cfg(feature = "unstable-msc2409")] receive_ephemeral, protocols, }