1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Switch K-9 from generating X-User-Agent to User-Agent headers.

Fixes issue 1917
This commit is contained in:
Jesse Vincent 2011-01-04 08:33:12 +00:00
parent f3e75d564a
commit d25f12fa16
2 changed files with 2 additions and 2 deletions

View File

@ -952,7 +952,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
message.setRecipients(RecipientType.CC, getAddresses(mCcView));
message.setRecipients(RecipientType.BCC, getAddresses(mBccView));
message.setSubject(mSubjectView.getText().toString());
message.setHeader("X-User-Agent", getString(R.string.message_header_mua));
message.setHeader("User-Agent", getString(R.string.message_header_mua));
final String replyTo = mIdentity.getReplyTo();
if (replyTo != null)

View File

@ -89,7 +89,7 @@ public class LocalStore extends Store implements Serializable
HEADERS_TO_SAVE.add("References");
HEADERS_TO_SAVE.add("Content-ID");
HEADERS_TO_SAVE.add("Content-Disposition");
HEADERS_TO_SAVE.add("X-User-Agent");
HEADERS_TO_SAVE.add("User-Agent");
}
/*
* a String containing the columns getMessages expects to work with