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

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