Monotone-Parent: 425ec819913ba5c65358660175d9507c5d2c8667

Monotone-Revision: 5f76faa2c6c13d283eda0de46a0ffad529be7b33

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-01T17:09:58
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-11-01 17:09:58 +00:00
parent 4cc6651c3c
commit bd04b6d069
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
2007-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailListView.m ([UIxMailListView
-hasMessageAttachment]): initialize hasAttachment with "NO" to
avoid false positives.
* OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor -extractQuickFieldsFromEvent:_event])
([OCSiCalFieldExtractor -extractQuickFieldsFromTodo:_task]):
set title to an empty string where the event/task summary is null.

View File

@@ -208,6 +208,8 @@
NSDictionary *currentDisp;
BOOL hasAttachment;
hasAttachment = NO;
parts = [[message objectForKey: @"body"] objectForKey: @"parts"];
if ([parts count] > 1)
{
@@ -218,8 +220,6 @@
hasAttachment = ([[currentDisp objectForKey: @"type"]
isEqualToString: @"ATTACHMENT"]);
}
else
hasAttachment = NO;
return hasAttachment;
}