[FIX] 'Send to channel' when replying as a quote (#2606)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
a253bc8d5b
commit
f0541c90d4
|
@ -856,9 +856,9 @@ class MessageBox extends Component {
|
||||||
|
|
||||||
renderSendToChannel = () => {
|
renderSendToChannel = () => {
|
||||||
const { tshow } = this.state;
|
const { tshow } = this.state;
|
||||||
const { theme, tmid, replying } = this.props;
|
const { theme, tmid, replyWithMention } = this.props;
|
||||||
|
|
||||||
if (!tmid && !replying) {
|
if (!tmid && !replyWithMention) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -552,7 +552,7 @@ class RoomView extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
onReplyCancel = () => {
|
onReplyCancel = () => {
|
||||||
this.setState({ selectedMessage: {}, replying: false });
|
this.setState({ selectedMessage: {}, replying: false, replyWithMention: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
onReactionInit = (message) => {
|
onReactionInit = (message) => {
|
||||||
|
|
Loading…
Reference in New Issue