mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Refresh pre keys after receiving a sync message with PNI identity
This commit is contained in:
1 parent
ce7aeb02bc
commit
ad65eb7ea2
1 file changed
+1
@@ -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