Log information when link message from main device has been received

This commit is contained in:
AsamK 2021-05-08 19:35:31 +02:00
parent 6cb867cbeb
commit 0bc2141245

View file

@ -95,6 +95,8 @@ public class ProvisioningManager {
var ret = accountManager.getNewDeviceRegistration(tempIdentityKey);
var number = ret.getNumber();
logger.info("Received link information from {}, linking in progress ...", number);
if (SignalAccount.userExists(pathConfig.getDataPath(), number)) {
throw new UserAlreadyExists(number, SignalAccount.getFileName(pathConfig.getDataPath(), number));
}