public Manager verifyAccount(
String verificationCode, String pin
- ) throws IOException, KeyBackupSystemNoDataException, KeyBackupServicePinException {
+ ) throws IOException, LockedException, KeyBackupSystemNoDataException, KeyBackupServicePinException {
verificationCode = verificationCode.replace("-", "");
VerifyAccountResponse response;
MasterKey masterKey;
account = null;
m.refreshPreKeys();
+ // Set an initial empty profile so user can be added to groups
+ m.setProfile(null, null, null, null, null);
final var result = m;
m = null;