fix building without unstable-msc2409 feature

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-10-02 21:52:14 -04:00
parent e81ed2741b
commit 7f345bf39d

View File

@ -158,6 +158,7 @@ impl From<RegistrationInit> for Registration {
sender_localpart,
namespaces,
rate_limited,
#[cfg(feature = "unstable-msc2409")]
receive_ephemeral,
protocols,
} = init;
@ -169,6 +170,7 @@ impl From<RegistrationInit> for Registration {
sender_localpart,
namespaces,
rate_limited,
#[cfg(feature = "unstable-msc2409")]
receive_ephemeral,
protocols,
}