mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Appease CI
This commit is contained in:
parent
be02f67eef
commit
8398e5dd71
1 changed files with 2 additions and 1 deletions
|
@ -519,7 +519,8 @@ export function bodyToHtml(content, highlights, opts={}) {
|
|||
emojiBody = match && match[0] && match[0].length === contentBodyTrimmed.length
|
||||
// Prevent user pills expanding for users with only emoji in
|
||||
// their username
|
||||
&& (!content.formatted_body || !content.formatted_body.includes("https://matrix.to/"));
|
||||
&& (content.formatted_body == undefined
|
||||
|| !content.formatted_body.includes("https://matrix.to/"));
|
||||
}
|
||||
|
||||
const className = classNames({
|
||||
|
|
Loading…
Reference in a new issue