Safeguard for local users

This commit is contained in:
Jesse Wierzbinski 2024-04-10 12:47:44 -10:00
parent b076d61d36
commit 5024eee5db
No known key found for this signature in database

View file

@ -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],