Monotone-Parent: b0de6c606ce6f295a8956a42ed0f0bc3b6e3cca3

Monotone-Revision: 24970ed1a272e80da6d29bce76d7fb4093a1d2a6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-30T20:02:33
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2012-03-30 20:02:33 +00:00
parent 4f148bafc6
commit 07b500412f
3 changed files with 12 additions and 5 deletions

View File

@ -1,8 +1,12 @@
2012-03-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreCalendarMessage.m (-save): remove comment if
content is "\n".
* OpenChange/MAPIStoreTasksMessage.m (-save): do not reset fields
that have not been passed in the properties array, since only
RopDeleteProperties should remove them.
Remove comment if content is "\n".
* OpenChange/MAPIStoreObject.m (-addPropertiesFromRow:): dates are
now all converted to the user's timezone, even though it just

View File

@ -874,10 +874,13 @@
value = [value htmlToText];
}
}
if (value && [value length] == 0)
value = nil;
[newEvent setComment: value];
if (value)
{
if ([value length] == 0 || [value isEqualToString: @"\\n"])
value = nil;
[newEvent setComment: value];
}
/* recurrence */
value = [properties
objectForKey: MAPIPropertyKey (PidLidAppointmentRecur)];

View File

@ -365,7 +365,7 @@
}
if (value)
{
if ([value length] == 0)
if ([value length] == 0 || [value isEqualToString: @"\\n"])
value = nil;
[vToDo setComment: value];
}