1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-13 23:41:50 +03:00

onTileUpdate -> onMessageAllowed

We keep onTileUpdate in MessgeEvent because it's a generic thing for the class to handle. onMessageAllowed is slightly different than onShowAllowed because "show allowed" doesn't quite make sense on its own, imo.
This commit is contained in:
Travis Ralston
2019-11-06 10:52:00 -07:00
parent 07b8e128d2
commit 86be607e92
2 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ module.exports = createReactClass({
replacingEventId={this.props.replacingEventId}
editState={this.props.editState}
onHeightChanged={this.props.onHeightChanged}
onTileUpdate={this.onTileUpdate}
onMessageAllowed={this.onTileUpdate}
/>;
},
});