mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-17 04:25:56 +00:00
Improved error-handling on broken IMAP responses
Monotone-Parent: 4bf3403d9b8b5ffb0f071863663473bb6c30c47f Monotone-Revision: 764facae177bd6d33ff44eed127581dd7e8421cf Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-09T18:42:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -668,7 +668,13 @@
|
||||
[msg addObject: [self msgRowID]];
|
||||
|
||||
// uid
|
||||
[msg addObject: [message objectForKey: @"uid"]];
|
||||
if ([message objectForKey: @"uid"])
|
||||
{
|
||||
[msg addObject: [message objectForKey: @"uid"]];
|
||||
[headers addObject: msg];
|
||||
}
|
||||
else
|
||||
[self logWithFormat: @"Invalid UID for message: %@", message];
|
||||
|
||||
[headers addObject: msg];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user