/*
- Copyright (C) 2015-2020 AsamK and contributors
+ Copyright (C) 2015-2021 AsamK and contributors
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
this.serviceConfiguration = serviceConfiguration;
this.userAgent = userAgent;
- identityKey = KeyHelper.generateIdentityKeyPair();
+ identityKey = KeyUtils.generateIdentityKeyPair();
registrationId = KeyHelper.generateRegistrationId(false);
password = KeyUtils.createPassword();
final SleepTimer timer = new UptimeSleepTimer();
m.requestSyncBlocked();
m.requestSyncConfiguration();
- m.saveAccount();
+ m.close(false);
}
+
+ account.save();
}
return username;