You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fix incorrect logic to hide thread relations
This commit is contained in:
@ -460,7 +460,7 @@ export default class MessagePanel extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
// Checking if the message has a "parentEventId" as we do not
|
// Checking if the message has a "parentEventId" as we do not
|
||||||
// want to hide the root event of the thread
|
// 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")) {
|
&& SettingsStore.getValue("feature_thread")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user