mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-23 08:08:04 +01:00
Remove legacy methods from RegistrationServiceClient
This commit is contained in:
committed by
Jon Chambers
parent
08c7baafac
commit
2c0fc8fe3e
@@ -26,8 +26,6 @@ service RegistrationService {
|
||||
* session.
|
||||
*/
|
||||
rpc check_verification_code (CheckVerificationCodeRequest) returns (CheckVerificationCodeResponse) {}
|
||||
|
||||
rpc legacy_check_verification_code (CheckVerificationCodeRequest) returns (LegacyCheckVerificationCodeResponse) {}
|
||||
}
|
||||
|
||||
message CreateRegistrationSessionRequest {
|
||||
@@ -358,20 +356,6 @@ message CheckVerificationCodeResponse {
|
||||
CheckVerificationCodeError error = 3;
|
||||
}
|
||||
|
||||
message LegacyCheckVerificationCodeResponse {
|
||||
/**
|
||||
* Indicates whether the verification code given in the request that produced
|
||||
* this response was correct.
|
||||
*/
|
||||
bool verified = 1;
|
||||
|
||||
/**
|
||||
* If a code could not be checked, explains the underlying error. Will be
|
||||
* absent if no error occurred.
|
||||
*/
|
||||
CheckVerificationCodeError error = 2;
|
||||
}
|
||||
|
||||
message CheckVerificationCodeError {
|
||||
/**
|
||||
* The type of error that prevented a verification code from being checked.
|
||||
|
||||
Reference in New Issue
Block a user