nemomobile / buteo-sync-plugin-caldav

12 stars 8 forks source link

[caldav] Remove use of account_service_name account setting key #15

Closed blammit closed 10 years ago

blammit commented 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.

chriadam commented 10 years ago

LGTM but is it possible that other random services might have a value for the calendars key too?

blammit commented 10 years ago

They shouldn't, as each onlinesync account should only have one service that has those properties set.