diff --git a/database/entities/Status.ts b/database/entities/Status.ts index 206faedf..443e0b23 100644 --- a/database/entities/Status.ts +++ b/database/entities/Status.ts @@ -299,17 +299,14 @@ export const createNewStatus = async ( .map((line) => `

${line}

`) .join("\n"); - htmlContent = linkifyHtml( - await replaceTextMentions(htmlContent, mentions ?? []), - { - defaultProtocol: "https", - validate: { - email: () => false, - }, - target: "_blank", - rel: "nofollow noopener noreferrer", + htmlContent = linkifyHtml(htmlContent, { + defaultProtocol: "https", + validate: { + email: () => false, }, - ); + target: "_blank", + rel: "nofollow noopener noreferrer", + }); } else { htmlContent = ""; }