More logging for "core spams imap events"

TODO: revert
This commit is contained in:
Hocuri
2021-04-10 16:08:41 +02:00
committed by GitHub
parent df277b374d
commit 5394327bf6
4 changed files with 19 additions and 9 deletions

View File

@@ -262,14 +262,12 @@ pub(crate) async fn dc_receive_imf_inner(
if !created_db_entries.is_empty() {
if needs_delete_job || delete_server_after == Some(0) {
for db_entry in &created_db_entries {
info!(context, "verbose (issue 2335): adding job after receive");
let mut params = Params::new();
params.set(Param::Arg, "comment: verbose (issue 2335) dc_receive_imf()");
job::add(
context,
job::Job::new(
Action::DeleteMsgOnImap,
db_entry.1.to_u32(),
Params::new(),
0,
),
job::Job::new(Action::DeleteMsgOnImap, db_entry.1.to_u32(), params, 0),
)
.await;
}