(fix) small optimization

pull/100/merge
Ludovic Marcotte 2015-08-20 22:37:27 -04:00
parent a45000d15d
commit 332dd0d96d
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ Class SOGoContactSourceFolderK, SOGoGCSFolderK;
folderAttrs = [NSDictionary dictionaryWithObjectsAndKeys:
[NSString stringWithFormat: @"%@", [currentFolder nameInContainer]], @"id",
[currentFolder displayName], @"name",
[currentFolder ownerInContext: context], @"owner",
owner, @"owner",
[NSNumber numberWithBool: [currentFolder isKindOfClass: SOGoGCSFolderK]], @"isEditable",
[NSNumber numberWithBool: [currentFolder isKindOfClass: SOGoContactSourceFolderK]
&& ![currentFolder isPersonalSource]], @"isRemote",