From 2093fed554075a5b189202cbd2141584f553af41 Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Tue, 8 Oct 2024 15:40:49 -0400 Subject: [PATCH] Drop the unused `setUnauthenticatedDelivery` endpoint --- .../textsecuregcm/controllers/DeviceController.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java index 4e56db485..016f63d19 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java @@ -400,14 +400,6 @@ private AtomicInteger getCounterForLinkedDeviceListeners(final String userAgent) } } - @PUT - @Produces(MediaType.APPLICATION_JSON) - @Path("/unauthenticated_delivery") - public void setUnauthenticatedDelivery(@Mutable @Auth AuthenticatedDevice auth) { - assert (auth.getAuthenticatedDevice() != null); - // Deprecated - } - @PUT @Produces(MediaType.APPLICATION_JSON) @Path("/capabilities")