Benoit Tellier created JAMES-3482:
-------------------------------------

             Summary: Mailbox/changes do not take isSubscribe changes into 
account
                 Key: JAMES-3482
                 URL: https://issues.apache.org/jira/browse/JAMES-3482
             Project: James Server
          Issue Type: Sub-task
          Components: eventbus, JMAP
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


h2. What

{code:java}
GIVEN a subscribed mailbox
WHEN I unsubscribe it
THEN the change is not recorded and a new state is not generated
{code}

h2. How

We need extra Mailbox events to capture **subscription changes**: 
MailboxSubscribed, MailboxUnsubscribed.

MailboxChangeListener needs to record state changes upon these events.

h2. Definition of done

The following Mailbox/changes integration test should pass:

{code:java}
GIVEN a subscribed mailbox
WHEN I unsubscribe it
THEN the changeshould be recorded and a new state should be generated
{code}







--
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