diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index 672660c16..50649b6d8 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -207,10 +207,8 @@ { SOGoAppointmentFolder *folder; SOGoAppointmentObject *object; - NSString *userLogin; - userLogin = [[context activeUser] login]; - if (![uid isEqualToString: userLogin]) + if (![uid isEqualToString: owner]) { folder = [container lookupCalendarFolderForUID: uid]; object = [folder lookupName: nameInContainer