mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
feat(federation): Finalize Versia 0.6 port
This commit is contained in:
parent
fca30b4dad
commit
b7e77097ba
20 changed files with 2788 additions and 439 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue