mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +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
|
// Old config file, creating new profile key
|
||||||
setProfileKey(KeyUtils.createProfileKey());
|
setProfileKey(KeyUtils.createProfileKey());
|
||||||
}
|
}
|
||||||
|
getProfileStore().storeProfileKey(getSelfRecipientId(), getProfileKey());
|
||||||
if (isPrimaryDevice() && getPniIdentityKeyPair() == null && getPni() != null) {
|
if (isPrimaryDevice() && getPniIdentityKeyPair() == null && getPni() != null) {
|
||||||
setPniIdentityKeyPair(KeyUtils.generateIdentityKeyPair());
|
setPniIdentityKeyPair(KeyUtils.generateIdentityKeyPair());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue