mirror of https://github.com/vector-im/riot-web
only strip reply fallbacks if the lab is enabled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
ed8f087eb6
commit
023632e7e4
|
@ -422,10 +422,11 @@ module.exports = React.createClass({
|
|||
const mxEvent = this.props.mxEvent;
|
||||
const content = mxEvent.getContent();
|
||||
|
||||
const stripReply = SettingsStore.isFeatureEnabled("feature_rich_quoting") && ReplyThread.getInReplyTo(mxEvent);
|
||||
let body = HtmlUtils.bodyToHtml(content, this.props.highlights, {
|
||||
disableBigEmoji: SettingsStore.getValue('TextualBody.disableBigEmoji'),
|
||||
// Part of Replies fallback support
|
||||
stripReplyFallback: Boolean(ReplyThread.getInReplyTo(mxEvent)),
|
||||
stripReplyFallback: stripReply,
|
||||
});
|
||||
|
||||
if (this.props.highlightLink) {
|
||||
|
|
Loading…
Reference in New Issue