Include correct JMAP capabilities in using

This commit is contained in:
Maurus Decimus
2026-06-19 11:05:04 +02:00
parent 08c1c5ac84
commit 4102b5f4ae
4 changed files with 16 additions and 9 deletions
+2 -3
View File
@@ -66,9 +66,8 @@ impl ObjectType {
pub fn capability_urn(self) -> &'static str {
match self {
ObjectType::Mailbox | ObjectType::Email | ObjectType::Identity => {
"urn:ietf:params:jmap:mail"
}
ObjectType::Mailbox | ObjectType::Email => "urn:ietf:params:jmap:mail",
ObjectType::Identity => "urn:ietf:params:jmap:submission",
ObjectType::SieveScript => "urn:ietf:params:jmap:sieve",
ObjectType::AddressBook | ObjectType::ContactCard => "urn:ietf:params:jmap:contacts",
ObjectType::Calendar | ObjectType::CalendarEvent | ObjectType::ParticipantIdentity => {