Update join_room_by_id_or_alias

This commit is contained in:
Jonas Platte 2020-05-04 18:43:51 +02:00
parent e5adfe1181
commit ebd4af10c5
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -19,11 +19,13 @@ ruma_api! {
/// The room where the user should be invited. /// The room where the user should be invited.
#[ruma_api(path)] #[ruma_api(path)]
pub room_id_or_alias: RoomIdOrAliasId, pub room_id_or_alias: RoomIdOrAliasId,
/// The servers to attempt to join the room through. One of the servers /// The servers to attempt to join the room through. One of the servers
/// must be participating in the room. /// must be participating in the room.
#[ruma_api(query)] #[ruma_api(query)]
#[serde(default)] #[serde(default)]
pub server_name: String, // TODO: Vec<String> once it is supported (#146, ruma-api#48) pub server_name: Vec<String>,
/// The signature of a `m.third_party_invite` token to prove that this user owns a third /// The signature of a `m.third_party_invite` token to prove that this user owns a third
/// party identity which has been invited to the room. /// party identity which has been invited to the room.
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]