Hack in a layout option

This commit is contained in:
Travis Ralston 2020-01-31 15:04:44 +00:00 committed by Bruno Windels
parent ee23bfe625
commit ea4d97fa73
4 changed files with 34 additions and 1 deletions

View file

@ -28,6 +28,7 @@ export default class DeviceVerifyOwnDialog extends React.Component {
render() {
const EncryptionPanel = sdk.getComponent("views.right_panel.EncryptionPanel");
return <EncryptionPanel
layout="dialog"
verificationRequest={this.props.verificationRequest}
onClose={this.props.onFinished}
member={MatrixClientPeg.get().getUser(this.props.verificationRequest.otherUserId)}