1
0
Fork 0
forked from mirrors/akkoma

fixed remote follow

This commit is contained in:
Maksim Pechnikov 2019-12-20 16:33:44 +03:00
parent d23a80e691
commit 7bd0bca2ab

View file

@ -264,6 +264,10 @@ def gather_webfinger_links(%User{} = user) do
"rel" => "self",
"type" => "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"",
"href" => user.ap_id
},
%{
"rel" => "http://ostatus.org/schema/1.0/subscribe",
"template" => "#{Pleroma.Web.base_url()}/ostatus_subscribe?acct={uri}"
}
]
end