Merge pull request #2805 from matrix-org/t3chguy/disableBigEmoji_memote

Disable big emoji for m.emote messages as it looks weird
This commit is contained in:
Travis Ralston
2019-03-18 20:31:32 -06:00
committed by GitHub

View File

@@ -431,7 +431,7 @@ module.exports = React.createClass({
const stripReply = ReplyThread.getParentEventId(mxEvent);
let body = HtmlUtils.bodyToHtml(content, this.props.highlights, {
disableBigEmoji: !SettingsStore.getValue('TextualBody.enableBigEmoji'),
disableBigEmoji: content.msgtype === "m.emote" || !SettingsStore.getValue('TextualBody.enableBigEmoji'),
// Part of Replies fallback support
stripReplyFallback: stripReply,
});