mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
Show AutocryptSetupMessage independently of show-emails settings
Fixes #161
This commit is contained in:
committed by
holger krekel
parent
4a0b2e68c8
commit
56f8717a40
@@ -215,7 +215,9 @@ pub unsafe fn dc_receive_imf(
|
||||
maybe this can be optimized later,
|
||||
by checking the state before the message body is downloaded */
|
||||
let mut allow_creation: libc::c_int = 1;
|
||||
if msgrmsg == 0 {
|
||||
if mime_parser.is_system_message != DC_CMD_AUTOCRYPT_SETUP_MESSAGE
|
||||
&& msgrmsg == 0
|
||||
{
|
||||
let show_emails = context
|
||||
.sql
|
||||
.get_config_int(context, "show_emails")
|
||||
|
||||
Reference in New Issue
Block a user