Disable big emoji for m.emote messages as it looks weird
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
bb111dc6c5
commit
d6f31bef8e
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
const stripReply = ReplyThread.getParentEventId(mxEvent);
|
const stripReply = ReplyThread.getParentEventId(mxEvent);
|
||||||
let body = HtmlUtils.bodyToHtml(content, this.props.highlights, {
|
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
|
// Part of Replies fallback support
|
||||||
stripReplyFallback: stripReply,
|
stripReplyFallback: stripReply,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue