Replace last explicit use of Box<ServerName> outside ruma-identifiers
This commit is contained in:
parent
652c40a01b
commit
7557ed438b
@ -16,7 +16,7 @@ use std::collections::BTreeMap;
|
|||||||
|
|
||||||
use ruma_api::Outgoing;
|
use ruma_api::Outgoing;
|
||||||
use ruma_common::thirdparty::Medium;
|
use ruma_common::thirdparty::Medium;
|
||||||
use ruma_identifiers::{ServerKeyId, ServerName};
|
use ruma_identifiers::{ServerKeyId, ServerNameBox};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// A signature of an `m.third_party_invite` token to prove that this user owns a third party
|
/// A signature of an `m.third_party_invite` token to prove that this user owns a third party
|
||||||
@ -33,7 +33,7 @@ pub struct ThirdPartySigned<'a> {
|
|||||||
pub token: &'a str,
|
pub token: &'a str,
|
||||||
|
|
||||||
/// A signatures object containing a signature of the entire signed object.
|
/// A signatures object containing a signature of the entire signed object.
|
||||||
pub signatures: BTreeMap<Box<ServerName>, BTreeMap<ServerKeyId, String>>,
|
pub signatures: BTreeMap<ServerNameBox, BTreeMap<ServerKeyId, String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents third party IDs to invite to the room.
|
/// Represents third party IDs to invite to the room.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user