Hello ,

When I try to use Mailbox/queryChanges call  the server always return me
an error "cannotCalculateChanges."
After a quick look in the code, it turns out this error is hard-coded.
/* Refuse all attempts to calculcate list updates */
    jmap_error(req, json_pack("{s:s}", "type",
    "cannotCalculateChanges"));
So my guess is not yet implemented functionality and will be
added later?
Regards,
Zhivko Vasilev

P.S. Below are the calls/responses to the server.

{"methodCalls":[["Mailbox/changes",{"filter":{"conditions":[{"inMailbox-
":"e5a1e895-e587-4d6a-a49d-
9cba28d9653c"}],"operator":"AND"},"sinceState":"11808"},"#23"],["Mailbo-
x/queryChanges",{"#ids":{"name":"Mailbox/changes","path":"/updated","re-
sultOf":"#23"},"properties":["id","totalEmails"],"sinceQueryState":"118-
08"},"#24"]],"using":["ietf:jmap","ietf:jmapmail"]}
{"methodResponses":[["Mailbox/changes",{"oldState":"11808","newState":"-
11811","hasMoreChanges":false,"created":[],"updated":["e5a1e895-e587-
4d6a-a49d-
9cba28d9653c"],"destroyed":[],"updatedProperties":["totalEmails","unrea-
dEmails","totalThreads","unreadThreads"],"accountId":"u1"},"#23"],["err-
or",{"type":"cannotCalculateChanges"},"#24"]]}

Reply via email to