Add ability to update room leaves with multiple eventIds

Tokio seems a bit broken with Rocket...
This commit is contained in:
Devin Ragotzy committed 2021-01-18 19:41:38 -05:00
1 parent 00436a32b0
commit 3a6f264450
3 files changed
+22 -24

No files matched your search

+2
View File
@@ -665,6 +665,8 @@ async fn join_room_by_id_helper(
utils::to_canonical_object(&**pdu).expect("Pdu is valid canonical object"),
count,
pdu_id.clone().into(),
// TODO: can we simplify the DAG or should we copy it exactly??
&pdu.prev_events,
&db,
)?;