mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Show "From", "To", "Cc" headers in "raw" form when displaying all message headers.
Fixes issue 1805
This commit is contained in:
parent
4f7ab92985
commit
6b5e9949d7
@ -1036,11 +1036,12 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
{
|
{
|
||||||
List<HeaderEntry> additionalHeaders = new LinkedList<HeaderEntry>();
|
List<HeaderEntry> additionalHeaders = new LinkedList<HeaderEntry>();
|
||||||
|
|
||||||
// Do not include the following headers, since they are always visible anyway
|
/*
|
||||||
|
* Remove "Subject" header as it is already shown in the standard
|
||||||
|
* message view header. But do show "From", "To", and "Cc" again.
|
||||||
|
* This time including the email addresses. See issue 1805.
|
||||||
|
*/
|
||||||
Set<String> headerNames = new HashSet<String>(message.getHeaderNames());
|
Set<String> headerNames = new HashSet<String>(message.getHeaderNames());
|
||||||
headerNames.remove("To");
|
|
||||||
headerNames.remove("From");
|
|
||||||
headerNames.remove("Cc");
|
|
||||||
headerNames.remove("Subject");
|
headerNames.remove("Subject");
|
||||||
|
|
||||||
for (String headerName : headerNames)
|
for (String headerName : headerNames)
|
||||||
|
Loading…
Reference in New Issue
Block a user