mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Accept VLIST items (fixes #661)
Custom format used by SOGo Connector to store lists of contacts
This commit is contained in:
parent
4f831de006
commit
4533f76df9
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ def check_and_sanitize_item(vobject_item, is_collection=False, uid=None):
|
|||
vobject_item.add("UID").value = uid or random_uuid4()
|
||||
elif not object_uid:
|
||||
vobject_item.uid.value = uid or random_uuid4()
|
||||
elif vobject_item.name == "VLIST":
|
||||
# Custom format used by SOGo Connector to store lists of contacts
|
||||
pass
|
||||
else:
|
||||
raise ValueError("Unknown item type: %r" % vobject_item.name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue