From 436bd891bded80bd18d76bbd1c82c56fef309aa7 Mon Sep 17 00:00:00 2001 From: Ravi Khadiwala Date: Fri, 23 Feb 2024 16:51:49 -0600 Subject: [PATCH] Don't register SpamFilter as a request filter --- .../org/whispersystems/textsecuregcm/WhisperServerService.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java index 13525f48c..d734b3a56 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java @@ -910,9 +910,6 @@ protected void configureServer(final ServerBuilder serverBuilder) { spamFilter.ifPresent(filter -> { environment.lifecycle().manage(filter); - environment.jersey().register(filter); - webSocketEnvironment.jersey().register(filter); - log.info("Registered spam filter: {}", filter.getClass().getName()); });