Fix key ID

This commit is contained in:
Travis Ralston 2020-01-23 20:14:27 -07:00
parent 0ce9da5d36
commit b7e680ba51

View File

@ -50,10 +50,9 @@ export default class VerificationPanel extends React.PureComponent {
</AccessibleButton>;
if (request.requestEvent && request.requestEvent.getId()) {
const keyId = `ed25519:${MatrixClientPeg.get().getCrossSigningId()}`;
const qrCodeKeys = [
[MatrixClientPeg.get().getDeviceId(), MatrixClientPeg.get().getDeviceEd25519Key()],
[keyId, MatrixClientPeg.get().getCrossSigningId()],
[MatrixClientPeg.get().getCrossSigningId(), MatrixClientPeg.get().getCrossSigningId()],
];
const crossSigningInfo = MatrixClientPeg.get().getStoredCrossSigningForUser(request.otherUserId);
const qrCode = <VerificationQRCode