You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
less duplication
This commit is contained in:
@@ -54,7 +54,7 @@ export default class VerificationPanel extends React.PureComponent {
|
|||||||
if (request.requestEvent && request.requestEvent.getId() && crossSigningInfo) {
|
if (request.requestEvent && request.requestEvent.getId() && crossSigningInfo) {
|
||||||
const qrCodeKeys = [
|
const qrCodeKeys = [
|
||||||
[MatrixClientPeg.get().getDeviceId(), MatrixClientPeg.get().getDeviceEd25519Key()],
|
[MatrixClientPeg.get().getDeviceId(), MatrixClientPeg.get().getDeviceEd25519Key()],
|
||||||
[myKeyId, MatrixClientPeg.get().getCrossSigningId()],
|
[myKeyId, myKeyId],
|
||||||
];
|
];
|
||||||
const qrCode = <VerificationQRCode
|
const qrCode = <VerificationQRCode
|
||||||
keyholderUserId={MatrixClientPeg.get().getUserId()}
|
keyholderUserId={MatrixClientPeg.get().getUserId()}
|
||||||
|
|||||||
Reference in New Issue
Block a user