Indicate event tile resize after rendering

pull/21833/head
Luke Barnard 2017-12-15 13:58:58 +00:00
parent 196e1a4f66
commit a516c18cc5
1 changed files with 3 additions and 1 deletions

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) {