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]
|
||||
ruma-identifiers = "0.5.0"
|
||||
ruma-signatures = "0.1.0"
|
||||
serde = "0.8.19"
|
||||
serde_derive = "0.8.19"
|
||||
serde_json = "0.8.4"
|
||||
|
@ -5,6 +5,7 @@
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate ruma_identifiers;
|
||||
extern crate ruma_signatures;
|
||||
extern crate serde;
|
||||
#[macro_use] extern crate serde_derive;
|
||||
extern crate serde_json;
|
||||
|
@ -1,6 +1,7 @@
|
||||
//! Types for the *m.room.member* event.
|
||||
|
||||
use ruma_identifiers::UserId;
|
||||
use ruma_signatures::Signatures;
|
||||
|
||||
use stripped::StrippedState;
|
||||
|
||||
@ -101,7 +102,7 @@ pub struct SignedContent {
|
||||
pub mxid: UserId,
|
||||
/// A single signature from the verifying server, in the format specified by the Signing Events
|
||||
/// 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.
|
||||
pub token: String,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user