Merge branch 'dokku' into 'develop'
[akkoma] / lib / pleroma / web / activity_pub / transmogrifier.ex
index 5edd8ccc7e10e2bc62858b74f786b2ad88caa263..d8fa2728d71505a39f91a16a114efe33518b3ee0 100644 (file)
@@ -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)