mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 22:05:23 +00:00
Monotone-Parent: 00ac31b5372de5deb01c919e39d6eacc4a512125
Monotone-Revision: 6dba4565cf1a4808254012e5e6299fe143f884f5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-11T16:52:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -620,10 +620,12 @@
|
||||
// the attendee, we add the user to the SENT-BY attribute.
|
||||
if (b && ![[currentUser login] isEqualToString: [theOwnerUser login]])
|
||||
{
|
||||
NSString *currentEmail;
|
||||
NSString *currentEmail, *quotedEmail;
|
||||
currentEmail = [[currentUser allEmails] objectAtIndex: 0];
|
||||
[otherAttendee addAttribute: @"SENT-BY"
|
||||
value: [NSString stringWithFormat: @"\"MAILTO:%@\"", currentEmail]];
|
||||
quotedEmail = [NSString stringWithFormat: @"\"MAILTO:%@\"",
|
||||
currentEmail];
|
||||
[otherAttendee setValue: 0 ofAttribute: @"SENT-BY"
|
||||
to: quotedEmail];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -672,10 +674,12 @@
|
||||
currentUser = [context activeUser];
|
||||
if (![[currentUser login] isEqualToString: [theOwnerUser login]])
|
||||
{
|
||||
NSString *currentEmail;
|
||||
currentEmail = [[currentUser allEmails] objectAtIndex: 0];
|
||||
[attendee addAttribute: @"SENT-BY"
|
||||
value: [NSString stringWithFormat: @"\"MAILTO:%@\"", currentEmail]];
|
||||
NSString *currentEmail, *quotedEmail;
|
||||
currentEmail = [[currentUser allEmails] objectAtIndex: 0];
|
||||
quotedEmail = [NSString stringWithFormat: @"\"MAILTO:%@\"",
|
||||
currentEmail];
|
||||
[attendee setValue: 0 ofAttribute: @"SENT-BY"
|
||||
to: quotedEmail];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1130,7 +1134,8 @@
|
||||
return [self changeParticipationStatus: _status forRecurrenceId: nil];
|
||||
}
|
||||
|
||||
- (NSException *) changeParticipationStatus: (NSString *) _status forRecurrenceId: (NSCalendarDate *) _recurrenceId
|
||||
- (NSException *) changeParticipationStatus: (NSString *) _status
|
||||
forRecurrenceId: (NSCalendarDate *) _recurrenceId
|
||||
{
|
||||
iCalCalendar *calendar;
|
||||
iCalEvent *event;
|
||||
|
||||
Reference in New Issue
Block a user