Add submitRateLimitChallenge command

Related #708
This commit is contained in:
AsamK 2021-09-09 19:20:48 +02:00
parent 1856e79a50
commit eee140f74f
4 changed files with 60 additions and 1 deletions

View file

@ -405,6 +405,10 @@ public class Manager implements Closeable {
account.setRegistered(false);
}
public void submitRateLimitRecaptchaChallenge(String challenge, String captcha) throws IOException {
dependencies.getAccountManager().submitRateLimitRecaptchaChallenge(challenge, captcha);
}
public List<Device> getLinkedDevices() throws IOException {
var devices = dependencies.getAccountManager().getDevices();
account.setMultiDevice(devices.size() > 1);