(fix) make sure consider non-void GUID

pull/225/head
Ludovic Marcotte 2016-10-25 11:18:49 -04:00
parent c709b9c04b
commit 2949bef902
1 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,7 @@ static NSString *inboxFolderName = @"INBOX";
else
guid = [[[result objectForKey: @"status"] objectForKey: currentFolder] objectForKey: @"x-guid"];
if (!guid)
if (!guid || [guid isNull])
{
// Don't generate a GUID for "Other users" and "Shared" namespace folders - user foldername instead
if ((otherUsersFolderName && [currentFolder isEqualToString: otherUsersFolderName]) ||