mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-10-23 10:55:57 +08:00
Add isActive property to defaults on Sieve/get JMAP method (closes #624)
This commit is contained in:
parent
7826eb3ea1
commit
a27ac74ad5
1 changed files with 6 additions and 2 deletions
|
|
@ -28,8 +28,12 @@ impl JMAP {
|
|||
mut request: GetRequest<RequestArguments>,
|
||||
) -> trc::Result<GetResponse> {
|
||||
let ids = request.unwrap_ids(self.core.jmap.get_max_objects)?;
|
||||
let properties =
|
||||
request.unwrap_properties(&[Property::Id, Property::Name, Property::BlobId]);
|
||||
let properties = request.unwrap_properties(&[
|
||||
Property::Id,
|
||||
Property::Name,
|
||||
Property::BlobId,
|
||||
Property::IsActive,
|
||||
]);
|
||||
let account_id = request.account_id.document_id();
|
||||
let push_ids = self
|
||||
.get_document_ids(account_id, Collection::SieveScript)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue