mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
throw new quoting behind flags
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
10c6f24a83
commit
54a9ccdee7
@ -170,10 +170,17 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
onQuoteClick: function() {
|
||||
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
|
||||
dis.dispatch({
|
||||
action: 'quote_event',
|
||||
event: this.props.mxEvent,
|
||||
});
|
||||
} else {
|
||||
dis.dispatch({
|
||||
action: 'quote',
|
||||
text: this.props.eventTileOps.getInnerText(),
|
||||
});
|
||||
}
|
||||
this.closeMenu();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user