if ((prio = [appointment valueForKey:@"priority"])) {
[ms appendFormat:@" apt_prio%@", prio];
}
- email = [[[self context] activeUser] email];
+ email = [[context activeUser] primaryEmail];
s = [appointment valueForKey:@"orgmail"];
if ([s isNotNull])
{
return userIsInTheCard;
}
-- (BOOL) titleShouldBeHidden
-{
- BOOL shouldBeHidden;
- SOGoUser *user;
- SOGoAuthenticator *sAuth;
-
- sAuth = [SOGoAuthenticator sharedSOGoAuthenticator];
- user = [sAuth userInContext: context];
-
- if ([[appointment objectForKey: @"owner"] isEqualToString: [user login]]
- || ([[appointment objectForKey: @"classification"] intValue]
- != iCalAccessConfidential))
- shouldBeHidden = NO;
- else
- shouldBeHidden = ![self _userIsInTheCard: [user email]];
-
- return shouldBeHidden;
-}
-
@end