diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2bb1092..ac9f1d2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,11 @@ Package maintainers and users who have to manually update their installation may want to subscribe to `GitHub's tag feed `_. +Version 0.16.0 +============== + +- Strip ``METHOD:PUBLISH`` added by some calendar providers. + Version 0.15.0 ============== diff --git a/vdirsyncer/vobject.py b/vdirsyncer/vobject.py index 573ffec..20f43b5 100644 --- a/vdirsyncer/vobject.py +++ b/vdirsyncer/vobject.py @@ -162,6 +162,8 @@ def _split_collection_impl(item, main, inline, items, ungrouped_items): wrapper.subcomponents.append(item) elif item.name in (u'VCALENDAR', u'VADDRESSBOOK'): + if item.name == 'VCALENDAR': + del item['METHOD'] for subitem in item.subcomponents: _split_collection_impl(subitem, item, inline, items, ungrouped_items)