feat(mail): handle multiple mail identities

Fixes #768, fixes #4602
This commit is contained in:
Francis Lachapelle committed 2020-06-18 16:53:42 -04:00
1 parent 2651b5aa9d
commit f8aa338e64
24 files changed
+605 -426

No files matched your search

+10 -10
View File
@@ -674,18 +674,18 @@
return [NSString stringWithFormat: @"urn:uuid:%@", nameInContainer];
}
- (NSException *) setDavSignature: (NSString *) newSignature
{
SOGoUserDefaults *ud;
SOGoUser *user;
// - (NSException *) setDavSignature: (NSString *) newSignature
// {
// SOGoUserDefaults *ud;
// SOGoUser *user;
user = [SOGoUser userWithLogin: [self ownerInContext: nil]];
ud = [user userDefaults];
[ud setMailSignature: newSignature];
[ud synchronize];
// user = [SOGoUser userWithLogin: [self ownerInContext: nil]];
// ud = [user userDefaults];
// [ud setMailSignature: newSignature];
// [ud synchronize];
return nil;
}
// return nil;
// }
#warning unused stub
- (BOOL) collectionDavKey: (NSString *) key