mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Also check for our own key ID
This commit is contained in:
parent
f8e0dcf264
commit
91d59556db
1 changed files with 2 additions and 1 deletions
|
@ -50,10 +50,11 @@ export default class VerificationPanel extends React.PureComponent {
|
|||
</AccessibleButton>;
|
||||
|
||||
const crossSigningInfo = MatrixClientPeg.get().getStoredCrossSigningForUser(request.otherUserId);
|
||||
const myKeyId = MatrixClientPeg.get().getCrossSigningId();
|
||||
if (request.requestEvent && request.requestEvent.getId() && crossSigningInfo) {
|
||||
const qrCodeKeys = [
|
||||
[MatrixClientPeg.get().getDeviceId(), MatrixClientPeg.get().getDeviceEd25519Key()],
|
||||
[MatrixClientPeg.get().getCrossSigningId(), MatrixClientPeg.get().getCrossSigningId()],
|
||||
[myKeyId, MatrixClientPeg.get().getCrossSigningId()],
|
||||
];
|
||||
const qrCode = <VerificationQRCode
|
||||
keyholderUserId={MatrixClientPeg.get().getUserId()}
|
||||
|
|
Loading…
Reference in a new issue