From 07ac3f43fbdaeede58a7941c831f9f86c13bcdbd Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 27 Apr 2015 10:38:29 -0400 Subject: [PATCH] Simplify some calls in SOGoAppointmentFolder.m --- SoObjects/Appointments/SOGoAppointmentFolder.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 6d04cd8c5..9b670d83b 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -502,12 +502,12 @@ static Class iCalEventK = nil; BOOL is_owner; userLogin = [[context activeUser] login]; - is_owner = [userLogin isEqualToString: [self ownerInContext: context]]; + is_owner = [userLogin isEqualToString: self->owner]; // Check if the owner (not the active user) has excluded the calendar from her/his free busy data. excludeFromFreeBusy = [self folderPropertyValueInCategory: @"FreeBusyExclusions" - forUser: [SOGoUser userWithLogin: userLogin]]; + forUser: [context activeUser]]; if ([self isSubscription]) {