See ChangeLog

Monotone-Parent: ad53dc521ff4231b5a6c7a7185ce6deda193e7e8
Monotone-Revision: f84e4aaa7eb033904461e3ce48ce2ff0919a7a30

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-11-13T13:41:43
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte committed 2008-11-13 13:41:43 +00:00
1 parent 171dfbfb3d
commit 5ea4891a28
3 files changed
+31 -7

No files matched your search

+15 -2
View File
@@ -410,7 +410,14 @@
[otherAttendee addAttribute: @"SENT-BY"
value: [NSString stringWithFormat: @"\"MAILTO:%@\"", currentEmail]];
}
else
{
// We must REMOVE any SENT-BY here. This is important since if A accepted
// the event for B and then, B changes by himself his participation status,
// we don't want to keep the previous SENT-BY attribute there.
[(NSMutableDictionary *)[otherAttendee attributes] removeObjectForKey: @"SENT-BY"];
}
iCalString = [[event parent] versitString];
error = [eventObject saveContentString: iCalString];
}
@@ -453,6 +460,13 @@
[attendee addAttribute: @"SENT-BY"
value: [NSString stringWithFormat: @"\"MAILTO:%@\"", currentEmail]];
}
else
{
// We must REMOVE any SENT-BY here. This is important since if A accepted
// the event for B and then, B changes by himself his participation status,
// we don't want to keep the previous SENT-BY attribute there.
[(NSMutableDictionary *)[attendee attributes] removeObjectForKey: @"SENT-BY"];
}
// We generate the updated iCalendar file and we save it
// in the database.
@@ -690,7 +704,6 @@
iCalPerson *attendee, *person;
SOGoAppointmentObject *recipientEvent;
SOGoUser *ownerUser;
NSString *email;
elements = [NSMutableArray array];
event = [self component: NO secure: NO];