1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 19:42:04 +02:00

do not mark incoming messages for being moved

This commit is contained in:
B. Petersen 2018-10-24 14:12:02 +02:00
parent d3c483667e
commit f9b596d539
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC

View file

@ -214,10 +214,6 @@ static void dc_job_do_DC_JOB_MARKSEEN_MSG_ON_IMAP(dc_context_t* context, dc_job_
in_ms_flags |= DC_MS_SET_MDNSent_FLAG;
}
if (msg->is_msgrmsg) {
in_ms_flags |= DC_MS_ALSO_MOVE;
}
if (dc_imap_markseen_msg(context->imap, msg->server_folder, msg->server_uid,
in_ms_flags, &new_server_folder, &new_server_uid, &out_ms_flags)!=0)
{
@ -261,7 +257,7 @@ static void dc_job_do_DC_JOB_MARKSEEN_MDN_ON_IMAP(dc_context_t* context, dc_job_
}
}
if (dc_imap_markseen_msg(context->imap, server_folder, server_uid, DC_MS_ALSO_MOVE, &new_server_folder, &new_server_uid, &out_ms_flags)==0) {
if (dc_imap_markseen_msg(context->imap, server_folder, server_uid, 0, &new_server_folder, &new_server_uid, &out_ms_flags)==0) {
dc_job_try_again_later(job, DC_AT_ONCE, NULL);
}