chibenwa commented on code in PR #1561:
URL: https://github.com/apache/james-project/pull/1561#discussion_r1193332598
##########
server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/core/Capability.scala:
##########
@@ -167,6 +167,9 @@ case object SubmissionCapabilityFactory extends
CapabilityFactory {
override def id(): CapabilityIdentifier = EMAIL_SUBMISSION
override def create(urlPrefixes: UrlPrefixes): Capability =
SubmissionCapability()
+
+ def create(maxDelayedSend: MaxDelayedSend, submissionExtensions:
Map[EhloName, EhloArgs]): Capability =
+ SubmissionCapability(EMAIL_SUBMISSION,
SubmissionProperties(maxDelayedSend, submissionExtensions))
Review Comment:
No we need to advertise it ONLY if it is supported
(we do not want to support it on top of RabbitMQ, and an admin might want to
turn this off...)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]