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, +}