fix: assign uid to contact cards on creation #644

This commit is contained in:
Linus Rath
2026-07-22 19:18:59 +02:00
parent b7c8cd999e
commit 959d4bd6ce
3 changed files with 46 additions and 2 deletions
+2
View File
@@ -4398,6 +4398,8 @@ export class JMAPClient implements IJMAPClient {
create: {
"new-contact": {
...contactData,
// Stalwart stores the card without one if omitted (#644)
uid: contactData.uid || `urn:uuid:${crypto.randomUUID()}`,
addressBookIds,
}
}