This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit df97b0c30393397d7cd1a939e64a56a46a0bbcc8 Author: Benoit Tellier <[email protected]> AuthorDate: Sun Jun 27 14:02:35 2021 +0700 JAMES-3466 MailboxFactory do not need access to the SubscriptionManager --- .../src/main/scala/org/apache/james/jmap/mail/MailboxFactory.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/mail/MailboxFactory.scala b/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/mail/MailboxFactory.scala index a932704..d4271cd 100644 --- a/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/mail/MailboxFactory.scala +++ b/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/mail/MailboxFactory.scala @@ -75,7 +75,7 @@ case class Subscriptions(subscribedNames: Set[String]) { def isSubscribed(metaData: MailboxMetaData): IsSubscribed = isSubscribed(metaData.getPath.getName) } -class MailboxFactory @Inject() (subscriptionManager: SubscriptionManager, mailboxManager: MailboxManager) { +class MailboxFactory @Inject() (mailboxManager: MailboxManager) { private def getRole(mailboxPath: MailboxPath, mailboxSession: MailboxSession): Option[Role] = Role.from(mailboxPath.getName) .filter(_ => mailboxPath.belongsTo(mailboxSession)).toScala --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
