Fix JMAP VacationResponse: isEnabled reset to false whenever properties are changed

This commit is contained in:
Maurus Decimus
2026-07-12 15:20:50 +02:00
parent b8122c8e0f
commit e8192d1920
2 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,9 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If
## Fixed
- OAuth resource indicators: Accept `imap`, `smtp`, `pop3` and `sieve` as valid resource indicators for OAuth access tokens.
- PostgreSQL: Incomplete channel binding implementation.
- JMAP: Return RFC-3339-conformant UTCDate literals in capabilities: min `0001-01-01T00:00:00Z`, max `9999-12-31T23:59:59Z`.
- JMAP:
- VacationResponse: `isEnabled` reset to false whenever properties are changed.
- Capabilities: Return RFC-3339-conformant UTCDate literals in capabilities: min `0001-01-01T00:00:00Z`, max `9999-12-31T23:59:59Z`.
- Reject invalid duration values (e.g. `1h30m`).
- Branding: Custom logos for domains do not work.
- Sieve: add `Received` headers to auto-generated messages and detect loops.

View File

@@ -141,7 +141,7 @@ impl VacationResponseSet for Server {
};
// Parse properties
let mut is_active = false;
let mut is_active = document_id.is_some_and(|id| active_script_id == Some(id));
let mut build_script = create_id.is_some();
let vacation = sieve.vacation_response.as_mut().unwrap();