|
|
|
@ -109,6 +109,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|
|
|
|
"actor" => ap_id,
|
|
|
|
|
"object" => id,
|
|
|
|
|
"to" => [actor.follower_address, object.data["actor"]],
|
|
|
|
|
"cc" => ["https://www.w3.org/ns/activitystreams#Public"],
|
|
|
|
|
"context" => object.data["context"]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -150,6 +151,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|
|
|
|
"type" => "Follow",
|
|
|
|
|
"actor" => follower_id,
|
|
|
|
|
"to" => [followed_id],
|
|
|
|
|
"cc" => ["https://www.w3.org/ns/activitystreams#Public"],
|
|
|
|
|
"object" => followed_id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -177,6 +179,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|
|
|
|
"actor" => ap_id,
|
|
|
|
|
"object" => id,
|
|
|
|
|
"to" => [user.follower_address, object.data["actor"]],
|
|
|
|
|
"cc" => ["https://www.w3.org/ns/activitystreams#Public"],
|
|
|
|
|
"context" => object.data["context"]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|