You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Improved threads stability (#7639)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -485,8 +485,11 @@ 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.isThreadRelation && this.props.hideThreadedMessages
|
||||
&& SettingsStore.getValue("feature_thread")) {
|
||||
if (mxEv.isThreadRelation &&
|
||||
!mxEv.isThreadRoot &&
|
||||
this.props.hideThreadedMessages &&
|
||||
SettingsStore.getValue("feature_thread")
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user