Monotone-Parent: d7078410ff174b441e08902d0d87364ea464be95

Monotone-Revision: 2a01eb91060e570b3c80b7c6f5cfc53ea0e7f0d6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-02T17:14:50
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-12-02 17:14:50 +00:00
parent 1865874287
commit c5e1b23a7a
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2011-12-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFSMessage.m (-subscriberCanModifyMessage):
handle the case where the message is being created.
* OpenChange/MAPIStoreFSFolder.m
(-messageKeysMatchingQualifier:andSortOrderings:): ensure the
active user can read the folder messages before returning them.

View File

@ -105,7 +105,10 @@
- (BOOL) subscriberCanModifyMessage
{
return ([(MAPIStoreFolder *) container subscriberCanModifyMessages]
return ((isNew
&& [(MAPIStoreFolder *) container subscriberCanCreateMessages])
|| (!isNew
&& [(MAPIStoreFolder *) container subscriberCanModifyMessages])
|| [self _messageIsFreeBusy]);
}