mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Add references and in-reply-to for forwarded messages.
This commit is contained in:
parent
3f4bc28363
commit
2b0b929aa2
@ -2528,6 +2528,19 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
}
|
||||
mQuoteStyle = QuoteStyle.HEADER;
|
||||
|
||||
// "Be Like Thunderbird" - on forwarded messages, set the message ID
|
||||
// of the forwarded message in the references and the reply to. TB
|
||||
// only includes ID of the message being forwarded in the reference,
|
||||
// even if there are multiple references.
|
||||
if (!StringUtils.isNullOrEmpty(message.getMessageId())) {
|
||||
mInReplyTo = message.getMessageId();
|
||||
mReferences = mInReplyTo;
|
||||
} else {
|
||||
if (K9.DEBUG) {
|
||||
Log.d(K9.LOG_TAG, "could not get Message-ID.");
|
||||
}
|
||||
}
|
||||
|
||||
// Quote the message and setup the UI.
|
||||
populateUIWithQuotedMessage(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user