mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 17:54:22 +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
51faa28568
commit
d99a2be351
|
@ -141,7 +141,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
||||||
end)
|
end)
|
||||||
|
|
||||||
# Add local posts to search index
|
# Add local posts to search index
|
||||||
Pleroma.Search.add_to_index(activity)
|
if local, do: Pleroma.Search.add_to_index(activity)
|
||||||
|
|
||||||
{:ok, activity}
|
{:ok, activity}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue