Monotone-Parent: c0382b432c6712e7dc895590046f2754c8cd37f1

Monotone-Revision: 8c5a9e9cc065204a82679aa77cc03ea009be7cfd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-03T17:23:56
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-02-03 17:23:56 +00:00
parent f3c2b4cca5
commit 4d4629e816
2 changed files with 25 additions and 0 deletions
+20
View File
@@ -85,6 +85,26 @@
return restrictedChildKeys;
}
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
MAPIRestrictionState rc;
switch ((uint32_t) res->ulPropTag)
{
/* HACK: we cheat here as we current have no mechanism for searching
folders based on PR_CHANGE_NUM, which is used by the oxcfxics
mechanism... */
case PR_CHANGE_NUM:
rc = MAPIRestrictionStateAlwaysTrue;
break;
default:
rc = [super evaluatePropertyRestriction: res intoQualifier: qualifier];
}
return rc;
}
- (id) lookupChild: (NSString *) childKey
{
return [(MAPIStoreFolder *) container lookupFolder: childKey];