mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: restore hostname prop in getActor method
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user