Make Endpoint bound work for ruma_wrapper::Ruma

This commit is contained in:
Jonas Platte 2020-03-29 01:29:47 +01:00
parent 73e04e71d7
commit 1183105f15
No known key found for this signature in database
GPG key ID: 7D261D771D915378
2 changed files with 26 additions and 13 deletions

View file

@ -160,7 +160,7 @@ fn create_message_event_route(
_room_id: String,
_event_type: String,
_txn_id: String,
body: Ruma<create_message_event::IncomingRequest>,
body: Ruma<create_message_event::Request>,
) -> MatrixResult<create_message_event::Response> {
dbg!(&body);
if let Ok(content) = body.data.clone().into_result() {