Make composer able to reply in thread or in room timeline

This commit is contained in:
Germain Souquet 2021-09-01 12:12:40 +01:00
parent dca268e67a
commit 95d1b06abb
5 changed files with 31 additions and 12 deletions

View file

@ -136,6 +136,7 @@ export default class ThreadView extends React.Component<IProps, IState> {
<MessageComposer
room={this.props.room}
resizeNotifier={this.props.resizeNotifier}
replyInThread={true}
replyToEvent={this.state?.thread?.replyToEvent}
showReplyPreview={false}
permalinkCreator={this.props.permalinkCreator}