Indicate event tile resize after rendering

This commit is contained in:
Luke Barnard 2017-12-15 13:58:58 +00:00
parent 196e1a4f66
commit a516c18cc5

View file

@ -214,8 +214,10 @@ module.exports = withMatrixClient(React.createClass({
const verified = await this.props.matrixClient.isEventSenderVerified(mxEvent);
this.setState({
verified: verified,
}, () => {
// Decryption may have caused a change in size
this.props.onWidgetLoad();
});
this.props.onWidgetLoad();
},
_propsEqual: function(objA, objB) {