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:
parent
37369929f3
commit
5147d9cb6d
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user