mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Merge pull request #1304 from tkasch/reply-fix
Fix threading view in Thunderbird (others?)
This commit is contained in:
commit
442c4f5eb5
2 changed files with 5 additions and 4 deletions
|
|
@ -864,7 +864,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
this.prepareMessageAttachments(oLastMessage, options.mode);
|
this.prepareMessageAttachments(oLastMessage, options.mode);
|
||||||
this.aDraftInfo = ['reply', oLastMessage.uid, oLastMessage.folder];
|
this.aDraftInfo = ['reply', oLastMessage.uid, oLastMessage.folder];
|
||||||
this.sInReplyTo = oLastMessage.messageId;
|
this.sInReplyTo = oLastMessage.messageId;
|
||||||
this.sReferences = (oLastMessage.messageId + ' ' + oLastMessage.references).trim();
|
this.sReferences = (oLastMessage.references + ' ' + oLastMessage.messageId).trim();
|
||||||
// OpenPGP “Transferable Public Key”
|
// OpenPGP “Transferable Public Key”
|
||||||
// oLastMessage.autocrypt?.keydata
|
// oLastMessage.autocrypt?.keydata
|
||||||
break;
|
break;
|
||||||
|
|
@ -875,7 +875,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
this.prepareMessageAttachments(oLastMessage, options.mode);
|
this.prepareMessageAttachments(oLastMessage, options.mode);
|
||||||
this.aDraftInfo = ['forward', oLastMessage.uid, oLastMessage.folder];
|
this.aDraftInfo = ['forward', oLastMessage.uid, oLastMessage.folder];
|
||||||
this.sInReplyTo = oLastMessage.messageId;
|
this.sInReplyTo = oLastMessage.messageId;
|
||||||
this.sReferences = (oLastMessage.messageId + ' ' + oLastMessage.references).trim();
|
this.sReferences = (oLastMessage.references + ' ' + oLastMessage.messageId).trim();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ComposeType.Draft:
|
case ComposeType.Draft:
|
||||||
|
|
|
||||||
|
|
@ -156,8 +156,9 @@ class Header
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://www.rfc-editor.org/rfc/rfc2822#section-2.1.1
|
// https://www.rfc-editor.org/rfc/rfc2822#section-2.1.1, avoid folding immediately after the header name
|
||||||
return \wordwrap($this->NameWithDelimitrom() . $sResult, 78, "\r\n ");
|
return $this->NameWithDelimitrom() . \wordwrap($sResult, 78 - \strlen($this->NameWithDelimitrom()) - 1, "\r\n ");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function IsSubject() : bool
|
public function IsSubject() : bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue