chibenwa opened a new pull request, #2567:
URL: https://github.com/apache/james-project/pull/2567

   Today moving emails triggers 2 JMAP websocket notification: it shall 
generate a signle one!
   
   Key idea: on the EventBus, I shall be able to publish a list of events.
   
   This will be serialized and transported by rabbit as a list of event. (We 
can have a configuration parameter to turn on/off this parameter to ease 
rolling migration). Deserialization will need to handle both list and single 
events.
   
   It will be executed as a list of events by listeners, with a default 
implementation to handle the current single event (without breaking change)
   
   MailboxChangeListener will handle the email move in a single pass: process 
both `Added` and `Expunged` in a single pass and return a single `StateChange`.
   
   See https://github.com/linagora/tmail-flutter/issues/3331


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to