Revert "More logging for "core spams imap events""

This reverts commit 5394327bf6.
This commit is contained in:
Hocuri
2021-04-22 14:19:57 +02:00
parent a1ef32170d
commit 819775ac39
5 changed files with 9 additions and 19 deletions

View File

@@ -258,12 +258,14 @@ 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, 0),
job::Job::new(
Action::DeleteMsgOnImap,
db_entry.1.to_u32(),
Params::new(),
0,
),
)
.await;
}