Update ruma-events to 0.17.0

This commit is contained in:
Jonas Platte 2020-03-12 21:31:03 +01:00
parent 21f9922b9e
commit e7526b88cb
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ edition = "2018"
http = "0.2.0"
js_int = { version = "0.1.2", features = ["serde"] }
ruma-api = "0.14.0"
ruma-events = "0.16.0"
ruma-events = "0.17.0"
ruma-identifiers = "0.14.1"
serde = { version = "1.0.104", features = ["derive"] }
serde_json = "1.0.48"

View File

@ -10,7 +10,7 @@ use ruma_events::{
only::Event as NonRoomEvent,
},
presence::PresenceEvent,
stripped::StrippedState,
stripped::AnyStrippedStateEvent,
EventResult,
};
use ruma_identifiers::RoomId;
@ -228,8 +228,8 @@ pub struct InvitedRoom {
#[derive(Clone, Debug, Serialize, Outgoing)]
pub struct InviteState {
/// A list of state events.
#[wrap_incoming(StrippedState with EventResult)]
pub events: Vec<StrippedState>,
#[wrap_incoming(AnyStrippedStateEvent with EventResult)]
pub events: Vec<AnyStrippedStateEvent>,
}
/// Updates to the presence status of other users.