Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Commit 531a1e9

Browse files
authored
Merge pull request #692 from deltachat/fix-asm
show asm independingly of show-emails settings
2 parents 5990093 + a11d72b commit 531a1e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/dc_receive_imf.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,10 @@ void dc_receive_imf(dc_context_t* context, const char* imf_raw_not_terminated, s
12091209
maybe this can be optimized later,
12101210
by checking the state before the message body is downloaded */
12111211
int allow_creation = 1;
1212-
if (msgrmsg==0) {
1212+
if (mime_parser->is_system_message==DC_CMD_AUTOCRYPT_SETUP_MESSAGE) {
1213+
;
1214+
}
1215+
else if (msgrmsg==0) {
12131216
/* this message is a classic email -
12141217
not a chat-message nor a reply to one */
12151218
int show_emails = dc_sqlite3_get_config_int(context->sql,

0 commit comments

Comments
 (0)