mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 10:39:27 +02:00
Merge pull request #604 from deltachat/hotfix-asm
show up autocrypt setup messages even if emails are not displayed
This commit is contained in:
commit
dddae8becc
2 changed files with 6 additions and 1 deletions
|
@ -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? */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue