From: Maksim Pechnikov Date: Fri, 20 Dec 2019 13:33:44 +0000 (+0300) Subject: fixed remote follow X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=7bd0bca2abadb96aa13ace36b968d57872681f7a;p=akkoma fixed remote follow --- 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