use ruma_signatures::Signatures for m.room.member.
This commit is contained in:
parent
56457e1bb4
commit
9308226de8
@ -12,6 +12,7 @@ version = "0.1.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ruma-identifiers = "0.5.0"
|
ruma-identifiers = "0.5.0"
|
||||||
|
ruma-signatures = "0.1.0"
|
||||||
serde = "0.8.19"
|
serde = "0.8.19"
|
||||||
serde_derive = "0.8.19"
|
serde_derive = "0.8.19"
|
||||||
serde_json = "0.8.4"
|
serde_json = "0.8.4"
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
|
|
||||||
extern crate ruma_identifiers;
|
extern crate ruma_identifiers;
|
||||||
|
extern crate ruma_signatures;
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
#[macro_use] extern crate serde_derive;
|
#[macro_use] extern crate serde_derive;
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
//! Types for the *m.room.member* event.
|
//! Types for the *m.room.member* event.
|
||||||
|
|
||||||
use ruma_identifiers::UserId;
|
use ruma_identifiers::UserId;
|
||||||
|
use ruma_signatures::Signatures;
|
||||||
|
|
||||||
use stripped::StrippedState;
|
use stripped::StrippedState;
|
||||||
|
|
||||||
@ -101,7 +102,7 @@ pub struct SignedContent {
|
|||||||
pub mxid: UserId,
|
pub mxid: UserId,
|
||||||
/// A single signature from the verifying server, in the format specified by the Signing Events
|
/// A single signature from the verifying server, in the format specified by the Signing Events
|
||||||
/// section of the server-server API.
|
/// section of the server-server API.
|
||||||
pub signatures: (), // TODO: This type should come from the ruma-signatures crate.
|
pub signatures: Signatures,
|
||||||
/// The token property of the containing third_party_invite object.
|
/// The token property of the containing third_party_invite object.
|
||||||
pub token: String,
|
pub token: String,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user