diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-20 16:33:44 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-20 16:33:44 +0300 |
commit | 7bd0bca2abadb96aa13ace36b968d57872681f7a (patch) | |
tree | eb61649e608042b03511e02217de14413f94056b | |
parent | d23a80e6911a85e2377ad2336a050e0206c74db9 (diff) | |
download | pleroma-7bd0bca2abadb96aa13ace36b968d57872681f7a.tar.gz |
fixed remote follow
-rw-r--r-- | lib/pleroma/web/activity_pub/publisher.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex index 4073d3d63..0cc8fab27 100644 --- a/lib/pleroma/web/activity_pub/publisher.ex +++ b/lib/pleroma/web/activity_pub/publisher.ex @@ -264,6 +264,10 @@ defmodule Pleroma.Web.ActivityPub.Publisher 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 |