pass isSelf flag to sas component

This commit is contained in:
Bruno Windels 2020-04-02 18:28:14 +02:00
parent 6bb6885578
commit 2ee780caa2

View file

@ -275,6 +275,7 @@ export default class VerificationPanel extends React.PureComponent {
onCancel={this._onSasMismatchesClick} onCancel={this._onSasMismatchesClick}
onDone={this._onSasMatchesClick} onDone={this._onSasMatchesClick}
inDialog={this.props.inDialog} inDialog={this.props.inDialog}
isSelf={request.isSelfVerification}
/> : <Spinner />; /> : <Spinner />;
return <div className="mx_UserInfo_container"> return <div className="mx_UserInfo_container">
<h3>{_t("Compare emoji")}</h3> <h3>{_t("Compare emoji")}</h3>