From dae82c8f2299f4d3261b6f05d51e0dc582709e65 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 2 Oct 2009 12:50:09 +0000 Subject: [PATCH] We really use the owner of the user's resource and not the current logged in user when getting the list of "web calendars" Monotone-Parent: a133bab8f4c9ee8ea78123618542c4a2ecdc2fd4 Monotone-Revision: 40a85071e7335fa3da3361d43dbbf6cf13684342 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-10-02T12:50:09 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolders.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolders.m b/SoObjects/Appointments/SOGoAppointmentFolders.m index 8c6750e2d..b7375f018 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolders.m +++ b/SoObjects/Appointments/SOGoAppointmentFolders.m @@ -278,7 +278,9 @@ rc = nil; - us = [[context activeUser] userSettings]; + us = [[SOGoUser userWithLogin: [self ownerInContext: nil]] + userDefaults]; + tmp = [us objectForKey: @"Calendar"]; if (tmp) {