Prune old Update activities #683
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ def add_activity_factory(attrs \\ %{}) do
|
|||
featured_collection_activity(attrs, "Add")
|
||||
end
|
||||
|
||||
def remove_activity_factor(attrs \\ %{}) do
|
||||
def remove_activity_factory(attrs \\ %{}) do
|
||||
featured_collection_activity(attrs, "Remove")
|
||||
end
|
||||
|
||||
|
@ -328,7 +328,7 @@ defp featured_collection_activity(attrs, type) do
|
|||
"target" => user.featured_address,
|
||||
"object" => note.data["object"],
|
||||
"actor" => note.data["actor"],
|
||||
"type" => "Add",
|
||||
"type" => type,
|
||||
"to" => [Pleroma.Constants.as_public()],
|
||||
"cc" => [user.follower_address]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue