add comment

This commit is contained in:
Michael Telatynski 2021-08-11 21:50:26 +01:00
parent 5d98c6f02d
commit 69cf64249f

View File

@ -184,6 +184,8 @@ export default class DeactivateAccountDialog extends React.Component<IProps, ISt
<InteractiveAuth <InteractiveAuth
matrixClient={MatrixClientPeg.get()} matrixClient={MatrixClientPeg.get()}
authData={this.state.authData} authData={this.state.authData}
// XXX: onUIAuthComplete breaches the expected method contract, it gets away with it because it
// knows the entire app is about to die as a result of the account deactivation.
makeRequest={this.onUIAuthComplete as any} makeRequest={this.onUIAuthComplete as any}
onAuthFinished={this.onUIAuthFinished} onAuthFinished={this.onUIAuthFinished}
onStagePhaseChange={this.onStagePhaseChange} onStagePhaseChange={this.onStagePhaseChange}