This commit is contained in:
Michael Telatynski 2020-08-29 12:57:11 +01:00
parent 78812b6f85
commit 517dee413e
13 changed files with 19 additions and 6 deletions

View file

@ -240,6 +240,7 @@ export default class EventTile extends React.Component {
}
// TODO: [REACT-WARNING] Move into constructor
// eslint-disable-next-line camelcase
UNSAFE_componentWillMount() {
this._verifyEvent(this.props.mxEvent);
}
@ -256,6 +257,7 @@ export default class EventTile extends React.Component {
}
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
// eslint-disable-next-line camelcase
UNSAFE_componentWillReceiveProps(nextProps) {
// re-check the sender verification as outgoing events progress through
// the send process.