diff --git a/src/protocol/activitypub/activitypub.cpp b/src/protocol/activitypub/activitypub.cpp index 1ab93eb..6053af1 100644 --- a/src/protocol/activitypub/activitypub.cpp +++ b/src/protocol/activitypub/activitypub.cpp @@ -182,6 +182,7 @@ HTTP::Response Route::ActivityPub::user(std::any& args, const HTTP::Request& req const std::string user_url = Instance::instance_host_https(true) + "users/" + user.acct; root.AddMember("type", "Person", a); root.AddMember("id", user_url, a); + root.AddMember("url", user_url, a); root.AddMember("name", user.display_name, a); root.AddMember("preferredUsername", user.acct, a); root.AddMember("summary", user.bio, a);