(feat) now able to subscribe/unsubscribe folders using sogo-tool

This commit is contained in:
Ludovic Marcotte committed 2017-05-17 09:44:34 -04:00
1 parent 7207925362
commit 334765c977
2 files changed
+53 -12

No files matched your search

+3 -1
View File
@@ -373,7 +373,9 @@ static NSArray *childRecordFields = nil;
dd = [[context activeUser] domainDefaults];
displayNameFormat = [dd subscriptionFolderFormat];
name = [folderSubscriptionValues keysWithFormat: displayNameFormat];
// Use a format only if it was defined by the user
if (displayNameFormat)
name = [folderSubscriptionValues keysWithFormat: displayNameFormat];
}
return name;