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

Actually add the secret to the QR code url

This commit is contained in:
Travis Ralston
2020-01-23 20:19:17 -07:00
parent b7e680ba51
commit 12fa94106e

View File

@@ -43,6 +43,7 @@ export default class VerificationQRCode extends React.PureComponent {
request: this.props.requestEventId, request: this.props.requestEventId,
action: this.props.action, action: this.props.action,
other_user_key: this.props.otherUserKey, other_user_key: this.props.otherUserKey,
secret: this.props.secret,
}; };
for (const key of this.props.keys) { for (const key of this.props.keys) {
query[`key_${key[0]}`] = key[1]; query[`key_${key[0]}`] = key[1];