Pass AccountAndAuthenticatedDeviceHolder to spam filter

This commit is contained in:
Ameya Lokare
2024-06-24 16:42:34 -07:00
parent f52c40a492
commit ec009a2bba
2 changed files with 3 additions and 3 deletions

View File

@@ -327,7 +327,7 @@ public class MessageController {
final Optional<byte[]> spamReportToken = switch (senderType) {
case SENDER_TYPE_IDENTIFIED ->
reportSpamTokenProvider.makeReportSpamToken(context, source.get().getAccount(), destination);
reportSpamTokenProvider.makeReportSpamToken(context, source.get(), destination);
default -> Optional.empty();
};