Specific check for user pills
This commit is contained in:
parent
a77c3d4d9b
commit
6a41975826
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ 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 == undefined;
|
||||
&& !content.formatted_body.includes("https://matrix.to/");
|
||||
}
|
||||
|
||||
const className = classNames({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue