You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Fix rendering reply after event is decrypted
This commit is contained in:
@@ -82,6 +82,7 @@ class ReplyTile extends React.Component {
|
|||||||
super(props, context);
|
super(props, context);
|
||||||
this.state = {};
|
this.state = {};
|
||||||
this.onClick = this.onClick.bind(this);
|
this.onClick = this.onClick.bind(this);
|
||||||
|
this._onDecrypted = this._onDecrypted.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
@@ -102,6 +103,9 @@ class ReplyTile extends React.Component {
|
|||||||
|
|
||||||
_onDecrypted() {
|
_onDecrypted() {
|
||||||
this.forceUpdate();
|
this.forceUpdate();
|
||||||
|
if (this.props.onHeightChanged) {
|
||||||
|
this.props.onHeightChanged();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_propsEqual(objA, objB) {
|
_propsEqual(objA, objB) {
|
||||||
|
|||||||
Reference in New Issue
Block a user