diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index 41b8eb108d..0646743560 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -433,7 +433,7 @@ - (NSException *) _handleAttendeeAvailability: (NSArray *) theAttendees i = count = 0; - // Build list of the attendees uids without ressources + // Build list of the attendees uids unavailableAttendees = [[NSMutableArray alloc] init]; enumerator = [theAttendees objectEnumerator]; ownerUID = [[[self context] activeUser] login]; @@ -449,7 +449,7 @@ - (NSException *) _handleAttendeeAvailability: (NSArray *) theAttendees moduleSettings = [us objectForKey:@"Calendar"]; // Check if the user prevented their account from beeing invited to events - if (![user isResource] && [[moduleSettings objectForKey:@"PreventInvitations"] boolValue]) + if ([[moduleSettings objectForKey:@"PreventInvitations"] boolValue]) { // Check if the user have a whiteList whiteList = [moduleSettings objectForKey:@"PreventInvitationsWhitelist"];