0
0
mirror of https://github.com/signalapp/Signal-Server.git synced 2024-09-20 03:52:16 +02:00

Mark old attachment endpoints as @Deprecated

This commit is contained in:
Jon Chambers 2024-07-17 11:39:37 -04:00 committed by Jon Chambers
parent 37369929f3
commit 5147d9cb6d
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,8 @@ import org.whispersystems.textsecuregcm.util.Conversions;
import org.whispersystems.textsecuregcm.util.Pair; import org.whispersystems.textsecuregcm.util.Pair;
import org.whispersystems.websocket.auth.ReadOnly; 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") @Path("/v2/attachments")
@Tag(name = "Attachments") @Tag(name = "Attachments")
public class AttachmentControllerV2 { public class AttachmentControllerV2 {

View File

@ -25,6 +25,8 @@ import org.whispersystems.textsecuregcm.limits.RateLimiter;
import org.whispersystems.textsecuregcm.limits.RateLimiters; import org.whispersystems.textsecuregcm.limits.RateLimiters;
import org.whispersystems.websocket.auth.ReadOnly; 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") @Path("/v3/attachments")
@Tag(name = "Attachments") @Tag(name = "Attachments")
public class AttachmentControllerV3 { public class AttachmentControllerV3 {