mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 06:46:35 +03:00
cargo fmt
This commit is contained in:
@@ -2148,7 +2148,6 @@ impl CommandApi {
|
|||||||
Ok(msg_id)
|
Ok(msg_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async fn send_videochat_invitation(&self, account_id: u32, chat_id: u32) -> Result<u32> {
|
async fn send_videochat_invitation(&self, account_id: u32, chat_id: u32) -> Result<u32> {
|
||||||
let ctx = self.get_context(account_id).await?;
|
let ctx = self.get_context(account_id).await?;
|
||||||
chat::send_videochat_invitation(&ctx, ChatId::new(chat_id))
|
chat::send_videochat_invitation(&ctx, ChatId::new(chat_id))
|
||||||
|
|||||||
@@ -709,7 +709,6 @@ impl From<deltachat::ephemeral::Timer> for EphemeralTimer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[derive(Deserialize, Serialize, TypeDef, schemars::JsonSchema)]
|
#[derive(Deserialize, Serialize, TypeDef, schemars::JsonSchema)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct QuotedText {
|
pub struct QuotedText {
|
||||||
@@ -717,5 +716,5 @@ pub struct QuotedText {
|
|||||||
pub text: String,
|
pub text: String,
|
||||||
/// protect specifies whether text should only be sent encrypted.
|
/// protect specifies whether text should only be sent encrypted.
|
||||||
/// If it should, but the message is unencrypted, text is replaced with "...".
|
/// If it should, but the message is unencrypted, text is replaced with "...".
|
||||||
pub protect: bool
|
pub protect: bool,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user