mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -05:00
Applied patch by fiouzy to read In-Reply-To and References header from saved draft.
Fixes issue 1686
This commit is contained in:
parent
6d6a9d0ffd
commit
3812c75f66
@ -1481,6 +1481,20 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||||||
mBccView.setVisibility(View.VISIBLE);
|
mBccView.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Read In-Reply-To header from draft
|
||||||
|
final String[] inReplyTo = message.getHeader("In-Reply-To");
|
||||||
|
if ((inReplyTo != null) && (inReplyTo.length >= 1))
|
||||||
|
{
|
||||||
|
mInReplyTo = inReplyTo[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Read References header from draft
|
||||||
|
final String[] references = message.getHeader("References");
|
||||||
|
if ((references != null) && (references.length >= 1))
|
||||||
|
{
|
||||||
|
mReferences = references[0];
|
||||||
|
}
|
||||||
|
|
||||||
if (!mSourceMessageProcessed)
|
if (!mSourceMessageProcessed)
|
||||||
{
|
{
|
||||||
loadAttachments(message, 0);
|
loadAttachments(message, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user