Make the federate field optional
@@ -14,5 +14,5 @@ pub struct CreateEventContent {
/// The `user_id` of the room creator. This is set by the homeserver.
pub creator: UserId,
/// Whether or not this room's data should be transferred to other homeservers.
- pub federate: bool,
+ pub federate: Option<bool>,
}
