When selecting reply in thread on a thread response open existing thread (#8291)
parent
391ec4c7e2
commit
59fda5273f
|
@ -232,8 +232,19 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
|
|||
action: Action.ViewUserSettings,
|
||||
initialTabId: UserTab.Labs,
|
||||
});
|
||||
} else if (this.props.mxEvent.isThreadRelation) {
|
||||
showThread({
|
||||
rootEvent: this.props.mxEvent.getThread().rootEvent,
|
||||
initialEvent: this.props.mxEvent,
|
||||
scroll_into_view: true,
|
||||
highlighted: true,
|
||||
push: isCard,
|
||||
});
|
||||
} else {
|
||||
showThread({ rootEvent: this.props.mxEvent, push: isCard });
|
||||
showThread({
|
||||
rootEvent: this.props.mxEvent,
|
||||
push: isCard,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue