Skip to content

Commit

Permalink
fix check redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
martgil committed Dec 4, 2024
1 parent e917133 commit f3f017b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ export class ComposeRenderModule extends ViewModule<ComposeView> {
if (inReplyToMessage) {
const msgId = inReplyToMessage.payload?.headers?.find(header => header.name === 'Message-Id' || header.name === 'Message-ID')?.value;
const references = inReplyToMessage.payload?.headers?.find(header => header.name === 'References')?.value;
if (msgId && references) {
this.setReplyHeaders(msgId, references);
}
this.setReplyHeaders(msgId, references);
}
this.view.replyParams.subject = `${this.responseMethod === 'reply' ? 'Re' : 'Fwd'}: ${this.view.replyParams.subject}`;
if (this.view.useFullScreenSecureCompose) {
Expand Down

0 comments on commit f3f017b

Please sign in to comment.