mirror of
https://github.com/chatmail/core.git
synced 2026-05-11 19:06:29 +03:00
Linters
This commit is contained in:
@@ -648,7 +648,6 @@ pub(crate) async fn ephemeral_loop(context: &Context, interrupt_receiver: Receiv
|
||||
}
|
||||
|
||||
/// Schedules expired IMAP messages for deletion.
|
||||
#[expect(clippy::arithmetic_side_effects)]
|
||||
pub(crate) async fn delete_expired_imap_messages(context: &Context) -> Result<()> {
|
||||
let now = time();
|
||||
context
|
||||
|
||||
@@ -1395,7 +1395,7 @@ impl Session {
|
||||
context
|
||||
.sql
|
||||
.execute(
|
||||
&format!("UPDATE imap SET target='' WHERE rfc724_mid=?"),
|
||||
"UPDATE imap SET target='' WHERE rfc724_mid=?",
|
||||
(rfc724_mid,),
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user