(feat) Now able to sync only default mail folders when using EAS

Conflicts:

	NEWS
	SoObjects/SOGo/SOGoUserDefaults.h
	SoObjects/SOGo/SOGoUserDefaults.m
This commit is contained in:
Ludovic Marcotte
2016-01-07 09:17:35 -05:00
parent 609c5aabf7
commit 6ffeba59ed
4 changed files with 34 additions and 4 deletions
+11 -1
View File
@@ -1,6 +1,6 @@
/* SOGoUserDefaults.m - this file is part of SOGo
*
* Copyright (C) 2009-2015 Inverse inc.
* Copyright (C) 2009-2016 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -405,6 +405,16 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
return [self boolForKey: @"SOGoMailShowSubscribedFoldersOnly"];
}
- (void) setSynchronizeOnlyDefaultMailFolders: (BOOL) newValue
{
[self setBool: newValue forKey: @"SOGoMailSynchronizeOnlyDefaultFolders"];
}
- (BOOL) synchronizeOnlyDefaultMailFolders
{
return [self boolForKey: @"SOGoMailSynchronizeOnlyDefaultFolders"];
}
- (void) setMailSortByThreads: (BOOL) newValue
{
[self setBool: newValue forKey: @"SOGoMailSortByThreads"];