diff --git a/database/entities/Status.ts b/database/entities/Status.ts index aa492328..e330dd1e 100644 --- a/database/entities/Status.ts +++ b/database/entities/Status.ts @@ -249,6 +249,8 @@ export const parseTextMentions = async (text: string) => { // Attempt to resolve mentions that were not found for (const person of notFound) { + if (person.split("@").length < 2) continue; + const user = await resolveWebFinger( person.split("@")[1], person.split("@")[2],