Merge pull request #4475 from matrix-org/t3chguy/reply_big_emoji
Fix BigEmoji for replies
This commit is contained in:
commit
369446a94f
1 changed files with 2 additions and 1 deletions
|
@ -446,7 +446,8 @@ export function bodyToHtml(content, highlights, opts={}) {
|
||||||
// their username. Permalinks (links in pills) can be any URL
|
// their username. Permalinks (links in pills) can be any URL
|
||||||
// now, so we just check for an HTTP-looking thing.
|
// now, so we just check for an HTTP-looking thing.
|
||||||
(
|
(
|
||||||
content.formatted_body == undefined ||
|
strippedBody === safeBody || // replies have the html fallbacks, account for that here
|
||||||
|
content.formatted_body === undefined ||
|
||||||
(!content.formatted_body.includes("http:") &&
|
(!content.formatted_body.includes("http:") &&
|
||||||
!content.formatted_body.includes("https:"))
|
!content.formatted_body.includes("https:"))
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue