From 3dfb2a23fec7fecca7eb679f4a9d44562289e4a7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 9 Dec 2024 06:16:05 +0000 Subject: [PATCH] rustfmt --- src/chat.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/chat.rs b/src/chat.rs index 606703084e..437dbff4ef 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -2786,7 +2786,10 @@ pub async fn is_contact_in_chat( /// sending may be delayed eg. due to network problems. However, from your /// view, you're done with the message. Sooner or later it will find its way. pub async fn send_msg(context: &Context, chat_id: ChatId, msg: &mut Message) -> Result { - ensure!(!chat_id.is_special(), "chat_id cannot be a special chat: {chat_id}"); + ensure!( + !chat_id.is_special(), + "chat_id cannot be a special chat: {chat_id}" + ); if msg.state != MessageState::Undefined && msg.state != MessageState::OutPreparing { msg.param.remove(Param::GuaranteeE2ee);