From 0cbc1c3eb888ca31f0e0e5d3f93ecde5eae3db1e Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Sun, 12 Jan 2025 04:16:57 +0100 Subject: [PATCH] cargo fmt --- deltachat-jsonrpc/src/api.rs | 1 - deltachat-jsonrpc/src/api/types/message.rs | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/deltachat-jsonrpc/src/api.rs b/deltachat-jsonrpc/src/api.rs index 6f1b70a7b7..ece7637624 100644 --- a/deltachat-jsonrpc/src/api.rs +++ b/deltachat-jsonrpc/src/api.rs @@ -2148,7 +2148,6 @@ impl CommandApi { Ok(msg_id) } - async fn send_videochat_invitation(&self, account_id: u32, chat_id: u32) -> Result { let ctx = self.get_context(account_id).await?; chat::send_videochat_invitation(&ctx, ChatId::new(chat_id)) diff --git a/deltachat-jsonrpc/src/api/types/message.rs b/deltachat-jsonrpc/src/api/types/message.rs index 31d858006f..588280db7f 100644 --- a/deltachat-jsonrpc/src/api/types/message.rs +++ b/deltachat-jsonrpc/src/api/types/message.rs @@ -709,7 +709,6 @@ impl From for EphemeralTimer { } } - #[derive(Deserialize, Serialize, TypeDef, schemars::JsonSchema)] #[serde(rename_all = "camelCase")] pub struct QuotedText { @@ -717,5 +716,5 @@ pub struct QuotedText { pub text: String, /// protect specifies whether text should only be sent encrypted. /// If it should, but the message is unencrypted, text is replaced with "...". - pub protect: bool -} \ No newline at end of file + pub protect: bool, +}