1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-06 03:50:08 +02:00

show up autocrypt setup messages even if emails are not displayed

This commit is contained in:
B. Petersen 2019-03-10 00:12:29 +01:00
parent afee0f717f
commit d63f88ac33
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC
2 changed files with 6 additions and 1 deletions

View file

@ -1533,7 +1533,6 @@ void dc_mimeparser_parse(dc_mimeparser_t* mimeparser, const char* body_not_termi
}
}
}
mimeparser->is_send_by_messenger = 0; /* do not treat a setup message as a messenger message (eg. do not move setup messages to the Chats-folder; there may be a 3rd device that wants to handle it) */
}
/* some special system message? */

View file

@ -19,6 +19,12 @@ void dc_do_heuristics_moves(dc_context_t* context, const char* folder, uint32_t
msg = dc_msg_new_load(context, msg_id);
if (dc_msg_is_setupmessage(msg)) {
// do not move setup messages;
// there may be a non-delta device that wants to handle it
goto cleanup;
}
if (dc_is_mvbox(context, folder)) {
dc_update_msg_move_state(context, msg->rfc724_mid, DC_MOVE_STATE_STAY);
goto cleanup;