diff --git a/src/activitypub/index.js b/src/activitypub/index.js index 13986b836f..721cb52159 100644 --- a/src/activitypub/index.js +++ b/src/activitypub/index.js @@ -45,6 +45,8 @@ ActivityPub.getActor = async (uid, input) => { actor.followerCount = followers.totalItems; actor.followingCount = following.totalItems; + actor.hostname = new URL(uri).hostname; + actorCache.set(uri, actor); return actor; } catch (e) {