mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
(fix) fixed a potential EAS error with multiple email priority flags
This commit is contained in:
@@ -600,7 +600,11 @@ struct GlobalObjectId {
|
||||
|
||||
// Importance
|
||||
v = 0x1;
|
||||
p = [[self mailHeaders] objectForKey: @"x-priority"];
|
||||
value = [[self mailHeaders] objectForKey: @"x-priority"];
|
||||
if ([value isKindOfClass: [NSArray class]])
|
||||
p = [value lastObject];
|
||||
else
|
||||
p = value;
|
||||
|
||||
if (p)
|
||||
{
|
||||
@@ -611,7 +615,12 @@ struct GlobalObjectId {
|
||||
}
|
||||
else
|
||||
{
|
||||
p = [[self mailHeaders] objectForKey: @"importance"];
|
||||
value = [[self mailHeaders] objectForKey: @"importance"];
|
||||
if ([value isKindOfClass: [NSArray class]])
|
||||
p = [value lastObject];
|
||||
else
|
||||
p = value;
|
||||
|
||||
if ([p hasPrefix: @"High"]) v = 0x2;
|
||||
else if ([p hasPrefix: @"Low"]) v = 0x0;
|
||||
}
|
||||
|
||||
3
NEWS
3
NEWS
@@ -8,8 +8,9 @@ Enhancements
|
||||
Bug fixes
|
||||
- now keep the BodyPreference for future EAS use and default to MIME if none set (#3146)
|
||||
- EAS reply fix when message/rfc822 parts are included in the original mail (#3153)
|
||||
- fix yet an other potential crash during freebusy lookups during timezone changes
|
||||
- fixed yet an other potential crash during freebusy lookups during timezone changes
|
||||
- fix display of freebusy information in event attendees editor during timezone changes
|
||||
- fixed a potential EAS error with multiple email priority flags
|
||||
|
||||
2.2.17a (2015-03-15)
|
||||
--------------------
|
||||
|
||||
Reference in New Issue
Block a user