Monotone-Parent: 563fcb93a27e1179ab8c69db8761cb2ff3033025

Monotone-Revision: f31bb2d6a249b9b688f94079bb962b96fd570e79

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-13T22:40:05
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-08-13 22:40:05 +00:00
parent 1fdede5a45
commit 5b487fad8b
4 changed files with 5 additions and 4 deletions

1
NEWS
View File

@ -4,6 +4,7 @@
- fixed a bug where the search of contacts would be done in authentication-only LDAP repositories
- added the ability to transfer an event from one calendar to another
- fixed a bug where deleting a contact would leave it listed in the contact list until the next refresh
- fixed a bug where events shared among different attendees would no longer be updated automatically
0.9.0-20080729 (1.0 rc7)
------------------------

View File

@ -419,7 +419,7 @@
{
if ([[attendee rsvp] isEqualToString: @"true"]
&& [event isStillRelevant])
[self sendResponseToOrganizer];
[self sendResponseToOrganizer: event];
organizerUID = [[event organizer] uid];
if (organizerUID)
ex = [self _updateAttendee: attendee

View File

@ -65,7 +65,7 @@
toAttendees: (NSArray *) _attendees;
- (void) sendIMIPReplyForEvent: (iCalRepeatableEntityObject *) event
to: (iCalPerson *) recipient;
- (void) sendResponseToOrganizer;
- (void) sendResponseToOrganizer: (iCalRepeatableEntityObject *) newComponent;
// - (BOOL) isOrganizerOrOwner: (SOGoUser *) user;

View File

@ -677,13 +677,13 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
}
}
- (void) sendResponseToOrganizer
- (void) sendResponseToOrganizer: (iCalRepeatableEntityObject *) newComponent
{
iCalPerson *organizer, *attendee;
iCalEvent *event;
SOGoUser *ownerUser;
event = [[self component: NO secure: NO] itipEntryWithMethod: @"reply"];
event = [newComponent itipEntryWithMethod: @"reply"];
ownerUser = [SOGoUser userWithLogin: owner roles: nil];
if (![event userIsOrganizer: ownerUser])
{