mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-06 00:49:46 +00:00
Only add local posts to index in activity_pub
Remote ones are already added in another place
This commit is contained in:
parent
0b4fd0d342
commit
4445421297
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,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 a new issue