refactor various Arc<EventId> to OwnedEventId
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
5a335933b8
commit
6458f4b195
29 changed files with 142 additions and 152 deletions
|
@ -6,7 +6,7 @@ use conduwuit::{
|
|||
debug, debug_warn, err, error, result::LogErr, trace, utils::ReadyExt, warn, Err, Error,
|
||||
Result,
|
||||
};
|
||||
use futures::StreamExt;
|
||||
use futures::{FutureExt, StreamExt};
|
||||
use ruma::{
|
||||
api::{
|
||||
client::error::ErrorKind,
|
||||
|
@ -74,8 +74,13 @@ pub(crate) async fn send_transaction_message_route(
|
|||
);
|
||||
|
||||
let resolved_map =
|
||||
handle_pdus(&services, &client, &body.pdus, body.origin(), &txn_start_time).await?;
|
||||
handle_edus(&services, &client, &body.edus, body.origin()).await;
|
||||
handle_pdus(&services, &client, &body.pdus, body.origin(), &txn_start_time)
|
||||
.boxed()
|
||||
.await?;
|
||||
|
||||
handle_edus(&services, &client, &body.edus, body.origin())
|
||||
.boxed()
|
||||
.await;
|
||||
|
||||
debug!(
|
||||
pdus = ?body.pdus.len(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue