parent
ca5951861a
commit
34cc64f8ce
@ -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…
x
Reference in New Issue
Block a user