Fix default priority of sent messages

Fixes #3542
pull/201/head
Francis Lachapelle 2016-02-25 11:52:12 -05:00
parent 4755358685
commit 07d47829ab
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -34,6 +34,7 @@ Bug fixes
- [web] fixed saving of notification email for calendar changes (#3522)
- [web] fixed ACL editor for authenticated users in Mail module
- [web] fixed fab button position in Calendar module (#3462)
- [web] fixed default priority of sent messages (#3542)
- [eas] allow EAS attachments get on 2nd-level mailboxes (#3505)
- [eas] fix EAS bday shift (#3518)

View File

@ -306,7 +306,7 @@ static NSString *userAgent = nil;
{
// newHeaders come from Web form; convert priority to MIME header representation
priority = [newHeaders objectForKey: @"priority"];
if (!priority || [priority intValue] == 3)
if (!priority || ![priority length] || [priority intValue] == 3)
{
[headers removeObjectForKey: @"X-Priority"];
}