mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
simpler subject of Autocrypt-Setup-Message (#2673)
since some time, core handles per-message-subjects and Mimefactory also picks that up. therefore, we can remove the old special handling.
This commit is contained in:
@@ -234,7 +234,7 @@ async fn do_initiate_key_transfer(context: &Context) -> Result<String> {
|
||||
msg = Message::default();
|
||||
msg.viewtype = Viewtype::File;
|
||||
msg.param.set(Param::File, setup_file_blob.as_name());
|
||||
|
||||
msg.subject = stock_str::ac_setup_msg_subject(context).await;
|
||||
msg.param
|
||||
.set(Param::MimeType, "application/autocrypt-setup");
|
||||
msg.param.set_cmd(SystemMessage::AutocryptSetupMessage);
|
||||
|
||||
Reference in New Issue
Block a user