Make destination service identifiers for spam checks non-optional

This commit is contained in:
Jon Chambers
2025-04-07 12:45:12 -04:00
committed by Ameya Lokare
parent 37038c4a63
commit 099073356c
2 changed files with 18 additions and 11 deletions

View File

@@ -305,7 +305,7 @@ public class MessageController {
}
final SpamCheckResult<Response> spamCheckResult =
spamChecker.checkForIndividualRecipientSpamHttp(messageType, context, source, maybeDestination, Optional.of(destinationIdentifier));
spamChecker.checkForIndividualRecipientSpamHttp(messageType, context, source, maybeDestination, destinationIdentifier);
if (spamCheckResult.response().isPresent()) {
return spamCheckResult.response().get();