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"
|
http = "0.2.0"
|
||||||
js_int = { version = "0.1.2", features = ["serde"] }
|
js_int = { version = "0.1.2", features = ["serde"] }
|
||||||
ruma-api = "0.14.0"
|
ruma-api = "0.14.0"
|
||||||
ruma-events = "0.16.0"
|
ruma-events = "0.17.0"
|
||||||
ruma-identifiers = "0.14.1"
|
ruma-identifiers = "0.14.1"
|
||||||
serde = { version = "1.0.104", features = ["derive"] }
|
serde = { version = "1.0.104", features = ["derive"] }
|
||||||
serde_json = "1.0.48"
|
serde_json = "1.0.48"
|
||||||
|
@ -10,7 +10,7 @@ use ruma_events::{
|
|||||||
only::Event as NonRoomEvent,
|
only::Event as NonRoomEvent,
|
||||||
},
|
},
|
||||||
presence::PresenceEvent,
|
presence::PresenceEvent,
|
||||||
stripped::StrippedState,
|
stripped::AnyStrippedStateEvent,
|
||||||
EventResult,
|
EventResult,
|
||||||
};
|
};
|
||||||
use ruma_identifiers::RoomId;
|
use ruma_identifiers::RoomId;
|
||||||
@ -228,8 +228,8 @@ pub struct InvitedRoom {
|
|||||||
#[derive(Clone, Debug, Serialize, Outgoing)]
|
#[derive(Clone, Debug, Serialize, Outgoing)]
|
||||||
pub struct InviteState {
|
pub struct InviteState {
|
||||||
/// A list of state events.
|
/// A list of state events.
|
||||||
#[wrap_incoming(StrippedState with EventResult)]
|
#[wrap_incoming(AnyStrippedStateEvent with EventResult)]
|
||||||
pub events: Vec<StrippedState>,
|
pub events: Vec<AnyStrippedStateEvent>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Updates to the presence status of other users.
|
/// Updates to the presence status of other users.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user