Update ruma-events to 0.17.0
This commit is contained in:
parent
21f9922b9e
commit
e7526b88cb
@ -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"
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user