Monotone-Parent: 171272a94b2a2daabc128a7bb2a2787ca40ba489

Monotone-Revision: 1e8c7259f7ef4e643e8c4d7691e6d7b69faa65c3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-01T14:30:20
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-11-01 14:30:20 +00:00
parent 6c105dcf90
commit ecfd582a33
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2011-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreMailMessage.m (-setReadFlag:): implemented
basic method, only dealing with actual setting or unsetting of
"\Seen".
* OpenChange/MAPIStoreCalendarMessage.m (-setReadFlag:): overriden
with dumb implementation, since it seems to be invoked on this
kind of object.
2011-10-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreContactsAttachment.m

View File

@ -901,4 +901,9 @@
return newAttachment;
}
- (int) setReadFlag: (uint8_t) flag
{
return MAPISTORE_SUCCESS;
}
@end

View File

@ -1535,6 +1535,14 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
- (int) setReadFlag: (uint8_t) flag
{
NSString *imapFlag = @"\\Seen";
/* TODO: notifications should probably be emitted from here */
if (flag & CLEAR_READ_FLAG)
[sogoObject removeFlags: imapFlag];
else
[sogoObject addFlags: imapFlag];
return MAPISTORE_SUCCESS;
}