1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-12-05 15:22:09 +03:00

Prevent soft crash when sending a thread message (#7467)

This commit is contained in:
Germain
2022-01-05 15:16:53 +00:00
committed by GitHub
parent 325e2ba99b
commit 76839ec42e

View File

@@ -590,7 +590,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
}
this.setState<null>(updatedState, () => {
this.messagePanel.current.updateTimelineMinHeight();
this.messagePanel.current?.updateTimelineMinHeight();
if (callRMUpdated) {
this.props.onReadMarkerUpdated?.();
}