ActivityPubController: Add Mastodon activity compat route.
This commit is contained in:
parent
8a4bd9e5d1
commit
355aa3bdc7
6 changed files with 42 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue