mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
add some flushes
This commit is contained in:
parent
7c82213ee7
commit
f4aabbdaa7
2 changed files with 15 additions and 3 deletions
|
@ -65,14 +65,18 @@ pub async fn join_room_by_id_route(
|
|||
|
||||
servers.insert(body.room_id.server_name().to_owned());
|
||||
|
||||
join_room_by_id_helper(
|
||||
let ret = join_room_by_id_helper(
|
||||
&db,
|
||||
body.sender_user.as_ref(),
|
||||
&body.room_id,
|
||||
&servers,
|
||||
body.third_party_signed.as_ref(),
|
||||
)
|
||||
.await
|
||||
.await;
|
||||
|
||||
db.flush().await?;
|
||||
|
||||
ret
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue