Closed blammit closed 10 years ago
Instead of using this key to find the CalDAV service for an account, look for a non-empty 'calendars' entry in the service settings. This is a more reliable check and makes the account_service_name key unnecessary.
LGTM but is it possible that other random services might have a value for the calendars key too?
They shouldn't, as each onlinesync account should only have one service that has those properties set.
Instead of using this key to find the CalDAV service for an account, look for a non-empty 'calendars' entry in the service settings. This is a more reliable check and makes the account_service_name key unnecessary.