mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-30 23:00:09 -05:00
Fixes Issue 1914
Show To, Cc and From headers on the part of additional headers without fetching all headers.
This commit is contained in:
parent
3ee3fad3d6
commit
dab0c9a97f
@ -539,7 +539,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
label.setSpan(boldSpan, 0, label.length(), 0);
|
||||
|
||||
sb.append(label);
|
||||
sb.append(additionalHeader.value.replaceAll("\\r\\n", ""));
|
||||
sb.append(MimeUtility.unfoldAndDecode(additionalHeader.value));
|
||||
}
|
||||
|
||||
mAdditionalHeadersView.setText(sb);
|
||||
|
@ -49,6 +49,9 @@ public class LocalStore extends Store implements Serializable
|
||||
static
|
||||
{
|
||||
HEADERS_TO_SAVE.add(K9.K9MAIL_IDENTITY);
|
||||
HEADERS_TO_SAVE.add("To");
|
||||
HEADERS_TO_SAVE.add("Cc");
|
||||
HEADERS_TO_SAVE.add("From");
|
||||
HEADERS_TO_SAVE.add("In-Reply-To");
|
||||
HEADERS_TO_SAVE.add("References");
|
||||
HEADERS_TO_SAVE.add("X-User-Agent");
|
||||
|
Loading…
Reference in New Issue
Block a user