mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-27 17:44:20 +01:00
Refresh pre keys after receiving a sync message with PNI identity
This commit is contained in:
@@ -460,6 +460,7 @@ public final class IncomingMessageHandler {
|
||||
final var pniIdentity = syncMessage.getPniIdentity().get();
|
||||
account.setPniIdentityKeyPair(KeyUtils.getIdentityKeyPair(pniIdentity.getPublicKey().toByteArray(),
|
||||
pniIdentity.getPrivateKey().toByteArray()));
|
||||
actions.add(RefreshPreKeysAction.create());
|
||||
}
|
||||
return actions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user