Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.0
-
None
-
None
Description
Similarily to https://issues.apache.org/jira/browse/JAMES-3530 mailbox sordOrder cannot be updated, as on top of James this is server set.
We currently use the role (based itself on the mailbox name) to determine the sort order.
Likely the sortOrder should be stored too.
A performant way to do this would be to have it part of the Mailbox POJO and update existing storage APIs accordingly (no need of extra reads). Otherwise mailbox annotation could be an alternative but will generate more reads.