less duplication

This commit is contained in:
Travis Ralston 2020-01-24 09:41:47 -07:00
parent 91d59556db
commit 540a7f5c02

View file

@ -54,7 +54,7 @@ export default class VerificationPanel extends React.PureComponent {
if (request.requestEvent && request.requestEvent.getId() && crossSigningInfo) {
const qrCodeKeys = [
[MatrixClientPeg.get().getDeviceId(), MatrixClientPeg.get().getDeviceEd25519Key()],
[myKeyId, MatrixClientPeg.get().getCrossSigningId()],
[myKeyId, myKeyId],
];
const qrCode = <VerificationQRCode
keyholderUserId={MatrixClientPeg.get().getUserId()}