ActivityPubController: Add Mastodon activity compat route.

This commit is contained in:
lain 2020-05-22 17:06:12 +02:00
commit 355aa3bdc7
6 changed files with 42 additions and 4 deletions

View file

@ -468,6 +468,8 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|> Enum.map(& &1.ap_id)
recipients ++ subscriber_ids
else
_e -> recipients
end
end
@ -479,6 +481,8 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|> User.get_followers()
|> Enum.map(& &1.ap_id)
|> Enum.concat(recipients)
else
_e -> recipients
end
end