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()); });