Convert uses of serde_json::Value to CanonicalJsonObject
This commit is contained in:
parent
b6d721374f
commit
27e686f9ff
5 changed files with 277 additions and 256 deletions
|
@ -185,9 +185,7 @@ impl Sending {
|
|||
.iter()
|
||||
.map(|pdu_id| {
|
||||
Ok::<_, (Box<ServerName>, Error)>(
|
||||
// TODO: this was a PduStub
|
||||
// In order for sending to work these actually do have to be
|
||||
// PduStub but, since they are Raw<..> we can fake it.
|
||||
// TODO: check room version and remove event_id if needed
|
||||
serde_json::from_str(
|
||||
PduEvent::convert_to_outgoing_federation_event(
|
||||
rooms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue