fix bug in inbound
[akkoma] / lib / pleroma / web / activity_pub / side_effects.ex
index 701181a1419e2f12bce3932fba3d0014832019da..a4169d41fdfef69f72467a45444cb38bc10b4c7c 100644 (file)
@@ -537,7 +537,9 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
   end
 
   @impl true
-  def handle_after_transaction(meta) do
+  def handle_after_transaction(activity, meta) do
+    Pleroma.Elasticsearch.put_by_id(activity.id)
+
     meta
     |> send_notifications()
     |> send_streamables()