You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2023/12/06 08:12:04 UTC

(james-project) 04/06: JAMES-2586 Enable UniqueID support for PostgresMailboxManager

This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch postgresql
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 7324aa0d6a3e675f1be72b45c5e9671743861db1
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Tue Dec 5 16:03:17 2023 +0100

    JAMES-2586 Enable UniqueID support for PostgresMailboxManager
    
    We generate a unique UUID so this is supported.
    
    Note that turns 5 tests on in the PostgresMailboxManager
    test suite.
---
 .../apache/james/mailbox/postgres/mail/PostgresMailboxManager.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/mail/PostgresMailboxManager.java b/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/mail/PostgresMailboxManager.java
index f3bc9304f3..070c12333a 100644
--- a/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/mail/PostgresMailboxManager.java
+++ b/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/mail/PostgresMailboxManager.java
@@ -90,4 +90,8 @@ public class PostgresMailboxManager extends StoreMailboxManager {
         return MAILBOX_CAPABILITIES;
     }
 
+    @Override
+    public EnumSet<MessageCapabilities> getSupportedMessageCapabilities() {
+        return EnumSet.of(MessageCapabilities.UniqueID);
+    }
 }


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