Use Arc for EventIds in PDUs

Upgrades Ruma again to make this work.
This commit is contained in:
Jonas Platte
2021-11-27 17:44:52 +01:00
parent 11a21fc136
commit 34d3f74f36
11 changed files with 81 additions and 76 deletions

View File

@@ -98,7 +98,7 @@ pub async fn send_message_event_route(
db.flush()?;
Ok(send_message_event::Response::new(event_id).into())
Ok(send_message_event::Response::new((*event_id).to_owned()).into())
}
/// # `GET /_matrix/client/r0/rooms/{roomId}/messages`