Fix compilation warning

pull/218/merge
Francis Lachapelle 2017-11-22 09:30:19 -05:00
parent e8b29add3a
commit d6e74cf9cb
1 changed files with 1 additions and 1 deletions

View File

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