fixed remote follow
authorMaksim Pechnikov <parallel588@gmail.com>
Fri, 20 Dec 2019 13:33:44 +0000 (16:33 +0300)
committerMaksim Pechnikov <parallel588@gmail.com>
Fri, 20 Dec 2019 13:33:44 +0000 (16:33 +0300)
lib/pleroma/web/activity_pub/publisher.ex

index 4073d3d63455ffa3e4aa7b1a9f554ebd630b6ed2..0cc8fab27b9e6c4d6ca870b62bb18691d8709d48 100644 (file)
@@ -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