From 2949bef9027e097625694e2d0815fbfa34a812ca Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 25 Oct 2016 11:18:49 -0400 Subject: [PATCH] (fix) make sure consider non-void GUID --- SoObjects/Mailer/SOGoMailAccount.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index 1b2711139..7b3b426c3 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -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]) ||