hide rich quoting behind flags, retaining original quoting for now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
38e8488c2a
commit
4666ac7c83
3 changed files with 40 additions and 2 deletions
|
@ -202,7 +202,9 @@ module.exports = React.createClass({
|
|||
|
||||
// update the current node with one that's now taken its place
|
||||
node = pillContainer;
|
||||
} else if (this.props.tileShape !== 'quote' && Quote.isMessageUrl(href)) {
|
||||
} else if (SettingsStore.isFeatureEnabled("feature_rich_quoting") && this.props.tileShape !== 'quote' &&
|
||||
Quote.isMessageUrl(href)
|
||||
) {
|
||||
// only allow this branch if we're not already in a quote, as fun as infinite nesting is.
|
||||
const quoteContainer = document.createElement('span');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue