mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 09:57:59 +01:00
Fix a mistake where we're looking for verification codes in place that hasn't been deployed yet (but will be soon!)
This commit is contained in:
committed by
Jon Chambers
parent
c2f40b8503
commit
035ddc4834
@@ -128,7 +128,7 @@ public class RegistrationServiceClient implements Managed {
|
||||
default -> throw new CompletionException(new RuntimeException("Failed to check verification code: " + response.getError().getErrorType()));
|
||||
}
|
||||
} else {
|
||||
return response.getSessionMetadata().getVerified();
|
||||
return response.getVerified() || response.getSessionMetadata().getVerified();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user