1
0
Эх сурвалжийг харах

Accept VLIST items (fixes #661)

Custom format used by SOGo Connector to store lists of contacts
Unrud 8 жил өмнө
parent
commit
4533f76df9
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      radicale/storage.py

+ 3 - 0
radicale/storage.py

@@ -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)