Fix default priority of sent messages

Fixes #3542
This commit is contained in:
Francis Lachapelle committed 2016-02-25 11:53:34 -05:00
1 parent 4755358685
commit 07d47829ab
2 files changed
+2 -1

No files matched your search

+1 -1
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"];
}