Lan Khuat created JAMES-3473:
--------------------------------

             Summary: Email/get should handle state property
                 Key: JAMES-3473
                 URL: https://issues.apache.org/jira/browse/JAMES-3473
             Project: James Server
          Issue Type: Sub-task
            Reporter: Lan Khuat


>From spec: https://jmap.io/spec-core.html#get (section 5.1)

 
{code:java}
State: A string representing the state on the server for all the data of this 
type in the account (not just the objects returned in this call). If the data 
changes, this string MUST change. If the data is unchanged, servers SHOULD 
return the same state string on subsequent requests.
{code}
 
h1. How

Whenever a Email/get request is received, we need to fetch the most recent 
state of Email objects stored in the EmailChangeRepository and return it in the 
response.
h1. DoD

Integration tests to show that Email/get method can handle the `state` property.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to