mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
Monotone-Parent: 463195ab0268a4a769eab22f23b6aecf0c87ad79
Monotone-Revision: 9abbb51cbabcad645190865841814453369fa85f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-18T10:16:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
#import <NGExtensions/NSString+misc.h>
|
||||
|
||||
#import <SoObjects/Appointments/iCalPerson+SOGo.h>
|
||||
#import <SoObjects/Appointments/SOGoAppointmentFolder.h>
|
||||
#import <SoObjects/Appointments/SOGoAppointmentFolders.h>
|
||||
#import <SoObjects/Appointments/SOGoAppointmentObject.h>
|
||||
@@ -245,6 +246,16 @@
|
||||
return url;
|
||||
}
|
||||
|
||||
- (BOOL) hasOrganizer
|
||||
{
|
||||
return (![organizer isVoid]);
|
||||
}
|
||||
|
||||
- (NSString *) organizerName
|
||||
{
|
||||
return [organizer mailAddress];
|
||||
}
|
||||
|
||||
- (void) setAttendeesNames: (NSString *) newAttendeesNames
|
||||
{
|
||||
ASSIGN (attendeesNames, newAttendeesNames);
|
||||
@@ -694,29 +705,8 @@
|
||||
respondsToSelector: @selector(saveContentString:)];
|
||||
}
|
||||
|
||||
- (BOOL) containsConflict: (id) _component
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
||||
/* access */
|
||||
|
||||
#if 0
|
||||
- (iCalPerson *) getOrganizer
|
||||
{
|
||||
iCalPerson *p;
|
||||
NSString *emailProp;
|
||||
|
||||
emailProp = [@"MAILTO:" stringByAppendingString:[self emailForUser]];
|
||||
p = [[[iCalPerson alloc] init] autorelease];
|
||||
[p setEmail:emailProp];
|
||||
[p setCn:[self cnForUser]];
|
||||
return p;
|
||||
}
|
||||
#endif
|
||||
|
||||
- (BOOL) isMyComponent
|
||||
{
|
||||
return ([[context activeUser] hasEmail: [organizer rfc822Email]]);
|
||||
@@ -845,6 +835,7 @@
|
||||
[currentAttendee setCn: [names objectAtIndex: count]];
|
||||
[currentAttendee setEmail: currentEmail];
|
||||
[currentAttendee setRole: @"REQ-PARTICIPANT"];
|
||||
[currentAttendee setRsvp: @"TRUE"];
|
||||
[currentAttendee
|
||||
setParticipationStatus: iCalPersonPartStatNeedsAction];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user