Make the federate field optional

This commit is contained in:
Andreas Brönnimann 2017-02-26 22:16:03 +01:00 committed by Jan Jansen
parent 3ee120973d
commit 2834dd4632

View File

@ -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>,
}