carddav: Remove enforcement of UID matching filename (Apple Contacts doesn't play well)

This commit is contained in:
Lennart
2025-08-23 19:42:58 +02:00
parent 94ace71745
commit 1e90ff3d6c
3 changed files with 15 additions and 26 deletions

View File

@@ -86,8 +86,7 @@ pub async fn put_object<AS: AddressbookStore>(
true
};
let object = AddressObject::from_vcf(body)?;
assert_eq!(object.get_id(), object_id);
let object = AddressObject::from_vcf(object_id, body)?;
addr_store
.put_object(principal, addressbook_id, object, overwrite)
.await?;