diff --git a/lib/pleroma/web/activity_pub/side_effects.ex b/lib/pleroma/web/activity_pub/side_effects.ex index 913b664ca..f87ee93cd 100644 --- a/lib/pleroma/web/activity_pub/side_effects.ex +++ b/lib/pleroma/web/activity_pub/side_effects.ex @@ -536,7 +536,6 @@ defp add_notifications(meta, notifications) 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 @@ def handle_after_transaction(meta) do |> send_notifications() |> send_streamables() end - - def handle_after_transaction(_), do: :ok end