fix: show padlock when the message is not sent over the network

This commit is contained in:
link2xt
2025-02-17 19:04:27 +00:00
committed by l
parent 20d6f0f2ca
commit 8eff4f40ff
2 changed files with 17 additions and 0 deletions

View File

@@ -3024,6 +3024,8 @@ pub(crate) async fn create_send_msg_jobs(context: &Context, msg: &mut Message) -
context,
"Message {} has no recipient, skipping smtp-send.", msg.id
);
msg.param.set_int(Param::GuaranteeE2ee, 1);
msg.update_param(context).await?;
msg.id.set_delivered(context).await?;
msg.state = MessageState::OutDelivered;
return Ok(Vec::new());