1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

Rename estimatedTargetDevice to targetDevice

This commit is contained in:
Travis Ralston
2020-02-07 15:34:45 +00:00
parent 724cff6a2e
commit bdeb9cccc4

View File

@@ -47,7 +47,7 @@ export default class VerificationQRCode extends React.PureComponent {
const myUserId = cli.getUserId(); const myUserId = cli.getUserId();
const otherUserId = verificationRequest.otherUserId; const otherUserId = verificationRequest.otherUserId;
const myDeviceId = cli.getDeviceId(); const myDeviceId = cli.getDeviceId();
const otherDevice = verificationRequest.estimatedTargetDevice; const otherDevice = verificationRequest.targetDevice;
const otherDeviceId = otherDevice ? otherDevice.deviceId : null; const otherDeviceId = otherDevice ? otherDevice.deviceId : null;
const qrProps = { const qrProps = {