mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
1 parent
ca5951861a
commit
34cc64f8ce
1 file changed
+1
@@ -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