diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index 2169f8f6e..117812ef1 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -1034,6 +1034,11 @@ // Recipient is fixed, which is the calendar owner ownerUser = [SOGoUser userWithLogin: self->owner]; recipientIdentity = [ownerUser primaryIdentity]; + + // Safety net for broken configurations + if (!recipientIdentity) + return; + recipientEmail = [recipientIdentity objectForKey: @"email"]; fullRecipientEmail = [recipientIdentity keysWithFormat: @"%{fullName} <%{email}>"];