mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-01 06:03:18 +01:00
Remove Option.RECAPTCHA from ProofRequiredException.
This commit is contained in:
committed by
Cody Henthorne
parent
58d769b21f
commit
02629020df
@@ -42,8 +42,6 @@ public class ProofRequiredException extends NonSuccessfulResponseCodeException {
|
||||
|
||||
for (String raw : rawOptions) {
|
||||
switch (raw) {
|
||||
case "recaptcha":
|
||||
options.add(Option.RECAPTCHA);
|
||||
case "captcha":
|
||||
options.add(Option.CAPTCHA);
|
||||
break;
|
||||
@@ -60,6 +58,6 @@ public class ProofRequiredException extends NonSuccessfulResponseCodeException {
|
||||
}
|
||||
|
||||
public enum Option {
|
||||
@Deprecated RECAPTCHA, CAPTCHA, PUSH_CHALLENGE
|
||||
CAPTCHA, PUSH_CHALLENGE
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user