reorg PduEvent strip tools and callsites
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
dc6e9e74d9
commit
bee4c6255a
13 changed files with 152 additions and 71 deletions
|
@ -157,7 +157,7 @@ pub(crate) async fn get_message_events_route(
|
|||
let chunk = events
|
||||
.into_iter()
|
||||
.map(at!(1))
|
||||
.map(|pdu| pdu.to_room_event())
|
||||
.map(PduEvent::into_room_event)
|
||||
.collect();
|
||||
|
||||
Ok(get_message_events::v3::Response {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue