mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +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:
@@ -388,10 +388,6 @@ impl<'a> MimeFactory<'a> {
|
||||
|
||||
let subject = match self.loaded {
|
||||
Loaded::Message { ref chat } => {
|
||||
if self.msg.param.get_cmd() == SystemMessage::AutocryptSetupMessage {
|
||||
return Ok(stock_str::ac_setup_msg_subject(context).await);
|
||||
}
|
||||
|
||||
if !self.msg.subject.is_empty() {
|
||||
return Ok(self.msg.subject.clone());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user