use ruma_signatures::Signatures for m.room.member.

This commit is contained in:
Jimmy Cuadra 2016-12-11 17:20:08 -08:00
parent 56457e1bb4
commit 9308226de8
3 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -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;

View File

@ -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,
}