feature/elasticsearch #1

Merged
floatingghost merged 41 commits from feature/elasticsearch into develop 2021-12-12 17:37:28 +00:00
Showing only changes of commit 64c13832c3 - Show all commits

View file

@ -536,7 +536,6 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
|> Keyword.put(:notifications, notifications ++ existing)
end
@impl true
@impl true
def handle_after_transaction(%{data: %{"type" => "Create"}} = activity) do
Elasticsearch.put_by_id(activity.id)
@ -547,6 +546,4 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
|> send_notifications()
|> send_streamables()
end
def handle_after_transaction(_), do: :ok
end