Fix JMAP for File Storage: FileNode/get returns a stale state string

This commit is contained in:
Maurus Decimus
2026-06-06 11:11:00 +02:00
parent 89ecee3bea
commit d0b0cb9438
2 changed files with 2 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If
- MTA: - MTA:
- Sub-addressing with external directories returns `550 Mailbox not found`. - Sub-addressing with external directories returns `550 Mailbox not found`.
- Disabled aliases continue receiving messages. - Disabled aliases continue receiving messages.
- JMAP for File Storage: `FileNode/get` returns a stale state string.
- Make `SieveSystemInterpreter.defaultReturnPath` and `MtaQueueQuota.match` optional expressions. - Make `SieveSystemInterpreter.defaultReturnPath` and `MtaQueueQuota.match` optional expressions.
## [0.16.7] - 2026-05-28 ## [0.16.7] - 2026-05-28

View File

@@ -112,7 +112,7 @@ impl FileNodeGet for Server {
} }
let mut response = GetResponse { let mut response = GetResponse {
account_id: request.account_id.into(), account_id: request.account_id.into(),
state: cache.get_state(true).into(), state: cache.get_state(false).into(),
list: Vec::with_capacity(ids.len()), list: Vec::with_capacity(ids.len()),
not_found: vec![], not_found: vec![],
}; };