mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
Monotone-Parent: 171272a94b2a2daabc128a7bb2a2787ca40ba489
Monotone-Revision: 1e8c7259f7ef4e643e8c4d7691e6d7b69faa65c3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-01T14:30:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -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
|
||||
|
||||
@@ -901,4 +901,9 @@
|
||||
return newAttachment;
|
||||
}
|
||||
|
||||
- (int) setReadFlag: (uint8_t) flag
|
||||
{
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user