Merge branch 'require-signature' into 'develop'
[akkoma] / lib / pleroma / web / activity_pub / publisher.ex
index db072bad2fd4d9256b29453a4ab9009b8c4a0f40..e4e3ab44a978ed250f2803f93e70ea6de68b6d61 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