Bump ruma to same rev as conduit federation-p2p branch
This commit is contained in:
parent
185047918a
commit
9a388fc813
@ -23,8 +23,8 @@ thiserror = "1.0.20"
|
||||
tracing-subscriber = "0.2.8"
|
||||
|
||||
[dependencies.ruma]
|
||||
git = "https://github.com/DevinR528/ruma"
|
||||
branch = "pdu-deserialize"
|
||||
git = "https://github.com/ruma/ruma"
|
||||
rev = "d5d2d1d893fa12d27960e4c58d6c09b215d06e95"
|
||||
features = ["client-api", "federation-api", "appservice-api"]
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -173,7 +173,7 @@ impl StateEvent {
|
||||
pub fn prev_event_ids(&self) -> Vec<EventId> {
|
||||
match self {
|
||||
Self::Full(ev) => match ev {
|
||||
Pdu::RoomV1Pdu(ev) => ev.prev_events.to_vec(),
|
||||
Pdu::RoomV1Pdu(ev) => ev.prev_events.iter().map(|(id, _)| id).cloned().collect(),
|
||||
Pdu::RoomV3Pdu(ev) => ev.prev_events.clone(),
|
||||
},
|
||||
Self::Sync(ev) => match ev {
|
||||
@ -188,7 +188,7 @@ impl StateEvent {
|
||||
pub fn auth_events(&self) -> Vec<EventId> {
|
||||
match self {
|
||||
Self::Full(ev) => match ev {
|
||||
Pdu::RoomV1Pdu(ev) => ev.auth_events.to_vec(),
|
||||
Pdu::RoomV1Pdu(ev) => ev.auth_events.iter().map(|(id, _)| id).cloned().collect(),
|
||||
Pdu::RoomV3Pdu(ev) => ev.auth_events.to_vec(),
|
||||
},
|
||||
Self::Sync(ev) => match ev {
|
||||
|
Loading…
x
Reference in New Issue
Block a user