feat: send messages over federation
This commit is contained in:
parent
9f05ef926a
commit
f7816b11de
15 changed files with 324 additions and 218 deletions
|
@ -303,7 +303,7 @@ pub fn whoami_route(body: Ruma<whoami::Request>) -> ConduitResult<whoami::Respon
|
|||
feature = "conduit_bin",
|
||||
post("/_matrix/client/r0/account/deactivate", data = "<body>")
|
||||
)]
|
||||
pub fn deactivate_route(
|
||||
pub async fn deactivate_route(
|
||||
db: State<'_, Database>,
|
||||
body: Ruma<deactivate::Request<'_>>,
|
||||
) -> ConduitResult<deactivate::Response> {
|
||||
|
@ -366,7 +366,7 @@ pub fn deactivate_route(
|
|||
&room_id,
|
||||
&db.globals,
|
||||
&db.account_data,
|
||||
)?;
|
||||
).await?;
|
||||
}
|
||||
|
||||
// Remove devices and mark account as deactivated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue