mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-19 23:24:53 +00:00
Monotone-Parent: 36c59ea6f5d3705bff60a615e113d6b9e7a7501e
Monotone-Revision: 2ae12f2c67f3e74fddaf5d592a19e233d0806899 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-26T01:16:19 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -284,23 +284,4 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user