Fix incorrect logic to hide thread relations

pull/21833/head
Germain Souquet 2021-10-15 10:25:42 +01:00
parent 2ad11b3af7
commit 3dcf0d0b7e
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ export default class MessagePanel extends React.Component<IProps, IState> {
// Checking if the message has a "parentEventId" as we do not
// want to hide the root event of the thread
if (mxEv.isThreadRoot && this.props.hideThreadedMessages
if (mxEv.isThreadRelation && this.props.hideThreadedMessages
&& SettingsStore.getValue("feature_thread")) {
return false;
}