mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-28 11:34:31 +01:00
@@ -402,6 +402,7 @@ public class SignalAccount implements Closeable {
|
||||
// Old config file, creating new profile key
|
||||
setProfileKey(KeyUtils.createProfileKey());
|
||||
}
|
||||
getProfileStore().storeProfileKey(getSelfRecipientId(), getProfileKey());
|
||||
if (isPrimaryDevice() && getPniIdentityKeyPair() == null && getPni() != null) {
|
||||
setPniIdentityKeyPair(KeyUtils.generateIdentityKeyPair());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user