diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java index c568c445d..dd46f05b2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java @@ -31,6 +31,8 @@ import org.whispersystems.textsecuregcm.util.Conversions; import org.whispersystems.textsecuregcm.util.Pair; import org.whispersystems.websocket.auth.ReadOnly; +// To be removed when Android 7.12 reaches saturation, likely some time toward the end of October 2024 +@Deprecated(forRemoval = true) @Path("/v2/attachments") @Tag(name = "Attachments") public class AttachmentControllerV2 { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java index 1e70ab4a8..5265444b3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java @@ -25,6 +25,8 @@ import org.whispersystems.textsecuregcm.limits.RateLimiter; import org.whispersystems.textsecuregcm.limits.RateLimiters; import org.whispersystems.websocket.auth.ReadOnly; +// To be removed when Desktop 7.17 reaches saturation, likely some time toward the end of October 2024 +@Deprecated(forRemoval = true) @Path("/v3/attachments") @Tag(name = "Attachments") public class AttachmentControllerV3 {