Allow stickers to be sent in a Thread (#7267)
This commit is contained in:
parent
141950d9e6
commit
f2fee53a0e
5 changed files with 35 additions and 6 deletions
|
@ -656,9 +656,15 @@ export default class MessageComposer extends React.Component<IProps, IState> {
|
|||
yOffset={-50}
|
||||
/>;
|
||||
}
|
||||
|
||||
const threadId = this.props.relation?.rel_type === RelationType.Thread
|
||||
? this.props.relation.event_id
|
||||
: null;
|
||||
|
||||
controls.push(
|
||||
<Stickerpicker
|
||||
room={this.props.room}
|
||||
threadId={threadId}
|
||||
showStickers={this.state.showStickers}
|
||||
setShowStickers={this.showStickers}
|
||||
menuPosition={menuPosition}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue