From b8fcb660ad2c8c256c6eecb83e2325c076ace9bf Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Sat, 22 Jul 2023 18:53:47 +0200 Subject: [PATCH] cargo fmt --- deltachat-jsonrpc/src/api/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/deltachat-jsonrpc/src/api/mod.rs b/deltachat-jsonrpc/src/api/mod.rs index 7c5c8e311..d9b6db8aa 100644 --- a/deltachat-jsonrpc/src/api/mod.rs +++ b/deltachat-jsonrpc/src/api/mod.rs @@ -1717,11 +1717,7 @@ impl CommandApi { /// Some messages cannot be resent, eg. info-messages, drafts, already pending messages or messages that are not sent by SELF. /// /// message_ids all message IDs that should be resend. All messages must belong to the same chat. - async fn resend_messages( - &self, - account_id: u32, - message_ids: Vec, - ) -> Result<()> { + async fn resend_messages(&self, account_id: u32, message_ids: Vec) -> Result<()> { let ctx = self.get_context(account_id).await?; let message_ids: Vec = message_ids.into_iter().map(MsgId::new).collect(); chat::resend_msgs(&ctx, &message_ids).await