Add room_version argument and reorg convert_outgoing_federation_event.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -41,8 +41,8 @@ pub(crate) async fn get_event_route(
|
||||
origin: services.globals.server_name().to_owned(),
|
||||
origin_server_ts: MilliSecondsSinceUnixEpoch::now(),
|
||||
pdu: services
|
||||
.sending
|
||||
.convert_to_outgoing_federation_event(event)
|
||||
.federation
|
||||
.format_pdu_into(event, None)
|
||||
.await,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user