mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Monotone-Parent: 1a8298d1520d86d2ba9068bd72abcf7073aa20a8
Monotone-Revision: e9bc6cb46a4431aee9c0112701adef16e8fde065 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-09T18:25:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#import <SOGo/WOContext+Agenor.h>
|
||||
#import <Appointments/SOGoTaskObject.h>
|
||||
#import <SOGoUI/SOGoDateFormatter.h>
|
||||
#import "UIxComponent+Agenor.h"
|
||||
#import "UIxComponent+Scheduler.h"
|
||||
#import "common.h"
|
||||
|
||||
@interface UIxTaskView (PrivateAPI)
|
||||
@@ -62,7 +62,7 @@
|
||||
- (BOOL)isAttendeeActiveUser {
|
||||
NSString *email, *attEmail;
|
||||
|
||||
email = [[[self context] activeUser] email];
|
||||
email = [[[self context] activeUser] primaryEmail];
|
||||
attendee = [self attendee];
|
||||
attEmail = [attendee rfc822Email];
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
NSString *email;
|
||||
iCalPerson *organizer;
|
||||
|
||||
email = [[[self context] activeUser] email];
|
||||
email = [[[self context] activeUser] primaryEmail];
|
||||
organizer = [[self task] organizer];
|
||||
if (!organizer) return YES; // assume this is correct to do, right?
|
||||
return [[organizer rfc822Email] isEqualToString:email];
|
||||
@@ -239,9 +239,9 @@
|
||||
return YES;
|
||||
|
||||
/* can access it if I'm invited :-) */
|
||||
email = [[[self context] activeUser] email];
|
||||
email = [[[self context] activeUser] primaryEmail];
|
||||
partMails = [[[self task] participants] valueForKey:@"rfc822Email"];
|
||||
return [partMails containsObject:email];
|
||||
return [partMails containsObject: email];
|
||||
}
|
||||
|
||||
- (BOOL)canEditApt {
|
||||
|
||||
Reference in New Issue
Block a user