mirror of https://github.com/vector-im/riot-web
Fix rendering reply after event is decrypted
parent
25af26323c
commit
ec7acd1c0f
|
@ -82,6 +82,7 @@ class ReplyTile extends React.Component {
|
|||
super(props, context);
|
||||
this.state = {};
|
||||
this.onClick = this.onClick.bind(this);
|
||||
this._onDecrypted = this._onDecrypted.bind(this);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
@ -102,6 +103,9 @@ class ReplyTile extends React.Component {
|
|||
|
||||
_onDecrypted() {
|
||||
this.forceUpdate();
|
||||
if (this.props.onHeightChanged) {
|
||||
this.props.onHeightChanged();
|
||||
}
|
||||
}
|
||||
|
||||
_propsEqual(objA, objB) {
|
||||
|
|
Loading…
Reference in New Issue