mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Log information when link message from main device has been received
This commit is contained in:
parent
6cb867cbeb
commit
0bc2141245
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ public class ProvisioningManager {
|
||||||
var ret = accountManager.getNewDeviceRegistration(tempIdentityKey);
|
var ret = accountManager.getNewDeviceRegistration(tempIdentityKey);
|
||||||
var number = ret.getNumber();
|
var number = ret.getNumber();
|
||||||
|
|
||||||
|
logger.info("Received link information from {}, linking in progress ...", number);
|
||||||
|
|
||||||
if (SignalAccount.userExists(pathConfig.getDataPath(), number)) {
|
if (SignalAccount.userExists(pathConfig.getDataPath(), number)) {
|
||||||
throw new UserAlreadyExists(number, SignalAccount.getFileName(pathConfig.getDataPath(), number));
|
throw new UserAlreadyExists(number, SignalAccount.getFileName(pathConfig.getDataPath(), number));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue