Profile link
FossilOrigin-Name: 16522419b8e0f246b6cd04a3c7e71ef1e7844a8c72e3dcf42eeca64f5c788f19
This commit is contained in:
parent
fdc6defa0d
commit
b565e7e965
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue