feat(federation): Finalize Versia 0.6 port

This commit is contained in:
Jesse Wierzbinski 2026-03-31 04:13:16 +02:00
parent fca30b4dad
commit b7e77097ba
No known key found for this signature in database
20 changed files with 2788 additions and 439 deletions

View file

@ -87,7 +87,9 @@ export const parseMentionsFromText = async (text: string): Promise<User[]> => {
VersiaEntities.User,
);
const user = await User.fromVersia(userEntity, url.hostname);
const instance = await Instance.resolve(url.hostname);
const user = await User.fromVersia(userEntity, instance);
if (user) {
finalList.push(user);