diff options
Diffstat (limited to 'server/lib/activitypub/actor.ts')
-rw-r--r-- | server/lib/activitypub/actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts index b67d9f08b..d84b465b2 100644 --- a/server/lib/activitypub/actor.ts +++ b/server/lib/activitypub/actor.ts | |||
@@ -352,7 +352,7 @@ async function refreshActorIfNeeded (actor: ActorModel): Promise<ActorModel> { | |||
352 | if (!actor.isOutdated()) return actor | 352 | if (!actor.isOutdated()) return actor |
353 | 353 | ||
354 | try { | 354 | try { |
355 | const actorUrl = await getUrlFromWebfinger(actor.preferredUsername, actor.getHost()) | 355 | const actorUrl = await getUrlFromWebfinger(actor.preferredUsername + '@' + actor.getHost()) |
356 | const result = await fetchRemoteActor(actorUrl) | 356 | const result = await fetchRemoteActor(actorUrl) |
357 | if (result === undefined) { | 357 | if (result === undefined) { |
358 | logger.warn('Cannot fetch remote actor in refresh actor.') | 358 | logger.warn('Cannot fetch remote actor in refresh actor.') |