File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -764,7 +764,7 @@ async fn add_parts(
764
764
let show_emails =
765
765
ShowEmails :: from_i32 ( context. get_config_int ( Config :: ShowEmails ) . await ?) . unwrap_or_default ( ) ;
766
766
767
- let allow_creation;
767
+ let mut allow_creation = !is_mdn && ( is_dc_message == MessengerMessage :: No || !is_reaction ) ;
768
768
if mime_parser. is_system_message != SystemMessage :: AutocryptSetupMessage
769
769
&& is_dc_message == MessengerMessage :: No
770
770
&& !context. get_config_bool ( Config :: IsChatmail ) . await ?
@@ -778,10 +778,8 @@ async fn add_parts(
778
778
allow_creation = false ;
779
779
}
780
780
ShowEmails :: AcceptedContacts => allow_creation = false ,
781
- ShowEmails :: All => allow_creation = !is_mdn ,
781
+ ShowEmails :: All => { }
782
782
}
783
- } else {
784
- allow_creation = !is_mdn && !is_reaction;
785
783
}
786
784
787
785
// check if the message introduces a new chat:
You can’t perform that action at this time.
0 commit comments