From 709c56a889364326fde974e9d922f7bec81494f2 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 26 Aug 2026 13:58:02 +0000 Subject: [PATCH] refactor: make create_send_msg_jobs() private It is not called from outside the "chat" module. --- src/chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.rs b/src/chat.rs index 037e56675..a3a91a26a 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -2856,7 +2856,7 @@ async fn render_mime_message_and_pre_message( /// Returns row ids if `smtp` table jobs were created or an empty `Vec` otherwise. /// /// The caller has to interrupt SMTP loop or otherwise process new rows. -pub(crate) async fn create_send_msg_jobs(context: &Context, msg: &mut Message) -> Result> { +async fn create_send_msg_jobs(context: &Context, msg: &mut Message) -> Result> { let cmd = msg.param.get_cmd(); if cmd == SystemMessage::GroupNameChanged || cmd == SystemMessage::GroupDescriptionChanged { msg.chat_id