(fix) EAS mail sync fix for v3

This commit is contained in:
Ludovic Marcotte 2016-01-07 11:39:15 -05:00
parent a755546f75
commit ed799c5c35

View file

@ -877,7 +877,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{ {
folderMetadata = [allFoldersMetadata objectAtIndex: i]; folderMetadata = [allFoldersMetadata objectAtIndex: i];
nameInCache = [NSString stringWithFormat: @"folder%@", [[folderMetadata objectForKey: @"path"] substringFromIndex: 1]]; // In v3, the "path" value does not have a '/' at the beginning
nameInCache = [NSString stringWithFormat: @"folder%@", [folderMetadata objectForKey: @"path"]];
// we have no guid - ignore the folder // we have no guid - ignore the folder
if (![imapGUIDs objectForKey: nameInCache]) if (![imapGUIDs objectForKey: nameInCache])