Update servers for Fastmail

Fixes #785
This commit is contained in:
Hugo Osvaldo Barrera 2020-06-08 18:50:03 +02:00
parent a5b98517e8
commit 461e4c55b0
2 changed files with 4 additions and 4 deletions

View file

@ -10,13 +10,13 @@ the settings to use::
[storage cal] [storage cal]
type = "caldav" type = "caldav"
url = "https://caldav.messagingengine.com/" url = "https://caldav.fastmail.com/"
username = ... username = ...
password = ... password = ...
[storage card] [storage card]
type = "carddav" type = "carddav"
url = "https://carddav.messagingengine.com/" url = "https://carddav.fastmail.com/"
username = ... username = ...
password = ... password = ...

View file

@ -14,9 +14,9 @@ class ServerMixin:
} }
if self.storage_class.fileext == '.ics': if self.storage_class.fileext == '.ics':
args['url'] = 'https://caldav.messagingengine.com/' args['url'] = 'https://caldav.fastmail.com/'
elif self.storage_class.fileext == '.vcf': elif self.storage_class.fileext == '.vcf':
args['url'] = 'https://carddav.messagingengine.com/' args['url'] = 'https://carddav.fastmail.com/'
else: else:
raise RuntimeError() raise RuntimeError()