Fix fix_explicit_addressing moving follower collection to cc and add tests for it
This commit is contained in:
parent
ab3f3af7cf
commit
a9eaa55885
2 changed files with 44 additions and 1 deletions
|
|
@ -93,7 +93,10 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
object
|
||||
|> Utils.determine_explicit_mentions()
|
||||
|
||||
explicit_mentions = explicit_mentions ++ ["https://www.w3.org/ns/activitystreams#Public"]
|
||||
follower_collection = User.get_cached_by_ap_id(Containment.get_actor(object)).follower_address
|
||||
|
||||
explicit_mentions =
|
||||
explicit_mentions ++ ["https://www.w3.org/ns/activitystreams#Public", follower_collection]
|
||||
|
||||
object
|
||||
|> fix_explicit_addressing(explicit_mentions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue