mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
parent
ca5951861a
commit
34cc64f8ce
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue