hide thread info when there are 0 replies

pull/21833/head
Germain Souquet 2021-09-20 12:55:57 +01:00
parent 225380b248
commit 0a5e1772a5
1 changed files with 1 additions and 1 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;
}