Merge pull request #6842 from matrix-org/gsouquet/fix-19016

This commit is contained in:
Germain
2021-09-21 10:14:01 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -521,7 +521,7 @@ export default class EventTile extends React.Component<IProps, IState> {
const thread = this.state.thread;
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
if (!thread || this.props.showThreadInfo === false) {
if (!thread || this.props.showThreadInfo === false || thread.length <= 1) {
return null;
}