mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
See ChangeLog
Monotone-Parent: 15a323395e06e9dba494ab7c7ad2871d2e95bdd4 Monotone-Revision: 048651c03289ee8aea9a9d3d3088a91e534dbe5b Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-12-22T22:45:37 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1068,18 +1068,6 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
/* some mail classification */
|
||||
|
||||
- (BOOL) isKolabObject
|
||||
{
|
||||
NSDictionary *h;
|
||||
|
||||
if ((h = [self mailHeaders]) != nil)
|
||||
return [[h objectForKey: @"x-kolab-type"] isNotEmpty];
|
||||
|
||||
// TODO: we could check the body structure?
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL) isMailingListMail
|
||||
{
|
||||
NSDictionary *h;
|
||||
@@ -1192,21 +1180,6 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
- (NSString *) outlookMessageClass
|
||||
{
|
||||
NSString *type;
|
||||
|
||||
if ((type = [[self mailHeaders] objectForKey: @"x-kolab-type"]) != nil) {
|
||||
if ([type isEqualToString: @"application/x-vnd.kolab.contact"])
|
||||
return @"IPM.Contact";
|
||||
if ([type isEqualToString: @"application/x-vnd.kolab.task"])
|
||||
return @"IPM.Task";
|
||||
if ([type isEqualToString: @"application/x-vnd.kolab.event"])
|
||||
return @"IPM.Appointment";
|
||||
if ([type isEqualToString: @"application/x-vnd.kolab.note"])
|
||||
return @"IPM.Note";
|
||||
if ([type isEqualToString: @"application/x-vnd.kolab.journal"])
|
||||
return @"IPM.Journal";
|
||||
}
|
||||
|
||||
return @"IPM.Message"; /* email, default class */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user