Only add local posts to index in activity_pub
Remote ones are already added in another place
This commit is contained in:
parent
208328dd69
commit
6d4a4d1280
@ -137,7 +137,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
||||
end)
|
||||
|
||||
# Add local posts to search index
|
||||
Pleroma.Search.add_to_index(activity)
|
||||
if local, do: Pleroma.Search.add_to_index(activity)
|
||||
|
||||
{:ok, activity}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user