Also check for our own key ID

pull/21833/head
Travis Ralston 2020-01-24 09:37:12 -07:00
parent f8e0dcf264
commit 91d59556db
1 changed files with 2 additions and 1 deletions

View File

@ -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()}