diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index e4fc7fd7b..a3a06e557 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -63,10 +63,12 @@ #import #import #import +#import #import #import +#import #import #import diff --git a/SoObjects/Mailer/SOGoMailFolder.h b/SoObjects/Mailer/SOGoMailFolder.h index 78cf6099e..1b3843795 100644 --- a/SoObjects/Mailer/SOGoMailFolder.h +++ b/SoObjects/Mailer/SOGoMailFolder.h @@ -97,8 +97,8 @@ - (NSString *) davCollectionTag; -- (NSArray *) syncTokenFieldsWithProperties: (NSDictionary *) properties - matchingSyncToken: (NSString *) syncToken +- (NSArray *) syncTokenFieldsWithProperties: (NSArray *) theProperties + matchingSyncToken: (NSString *) theSyncToken fromDate: (NSCalendarDate *) theStartDate; /* flags */ diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index c30dd134b..d402a3248 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -57,6 +57,7 @@ #import #import #import +#import #import #import #import @@ -64,6 +65,7 @@ #import "EOQualifier+MailDAV.h" #import "SOGoMailObject.h" #import "SOGoMailAccount.h" +#import "SOGoMailAccounts.h" #import "SOGoMailManager.h" #import "SOGoMailFolder.h" #import "SOGoTrashFolder.h" diff --git a/SoObjects/Mailer/SOGoMailObject.m b/SoObjects/Mailer/SOGoMailObject.m index 2aabcaa75..3975dd82c 100644 --- a/SoObjects/Mailer/SOGoMailObject.m +++ b/SoObjects/Mailer/SOGoMailObject.m @@ -766,6 +766,7 @@ static BOOL debugSoParts = NO; [part objectForKey: @"subtype"]]; if (!filename) + { // We might end up here because of MUA that actually strips the // Content-Disposition (and thus, the filename) when mails containing // attachments have been forwarded. Thunderbird (2.x) does just that @@ -777,7 +778,7 @@ static BOOL debugSoParts = NO; filename = [NSString stringWithFormat: @"unknown_%@", path]; else if ([mimeType isEqualToString: @"message/rfc822"]) filename = [NSString stringWithFormat: @"email_%@.eml", path]; - + } if (filename) { diff --git a/SoObjects/SOGo/SOGoUserManager.m b/SoObjects/SOGo/SOGoUserManager.m index d5a6a94d0..783e16b26 100644 --- a/SoObjects/SOGo/SOGoUserManager.m +++ b/SoObjects/SOGo/SOGoUserManager.m @@ -449,8 +449,6 @@ static Class NSNullK; NSEnumerator *authIDs; NSString *currentID; BOOL checkOK; - SOGoSystemDefaults *sd; - NSRange r; checkOK = NO;