From ebd4af10c5cb5633a226eb7dc531b119674caba0 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 4 May 2020 18:43:51 +0200 Subject: [PATCH] Update join_room_by_id_or_alias --- src/r0/membership/join_room_by_id_or_alias.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/r0/membership/join_room_by_id_or_alias.rs b/src/r0/membership/join_room_by_id_or_alias.rs index 287ae7c9..91ecda4e 100644 --- a/src/r0/membership/join_room_by_id_or_alias.rs +++ b/src/r0/membership/join_room_by_id_or_alias.rs @@ -19,11 +19,13 @@ ruma_api! { /// The room where the user should be invited. #[ruma_api(path)] pub room_id_or_alias: RoomIdOrAliasId, + /// The servers to attempt to join the room through. One of the servers /// must be participating in the room. #[ruma_api(query)] #[serde(default)] - pub server_name: String, // TODO: Vec once it is supported (#146, ruma-api#48) + pub server_name: Vec, + /// 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. #[serde(skip_serializing_if = "Option::is_none")]