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