Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
With an expunged model, we get the deleted metadata after the delete operation proceeded, which is not compatible with PreDeletionHooks design.
In this ticket, we propose ourselves to implement this expunge mechanism in the IMAP layer :
-1. Promote List<MessageUid> retrieveDeletedMessage(MessageRange) as a MessageManager method.
-2. Implement a new void delete(List<MessageUid>) as a MessageManager method.
-3. Remove MessageManager::expunge & MessageMapper::expungeMarkedForDeletionInMailbox.
You will need to adapt MessageMapper tests and MessageManager tests accordingly.