Refresh pre keys after receiving a sync message with PNI identity
This commit is contained in:
parent
ce7aeb02bc
commit
ad65eb7ea2
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user