From: Ekaterina Vaartis Date: Tue, 12 Oct 2021 16:34:57 +0000 (+0300) Subject: Use proper deleted object for removing from index X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=37913c8ddf6910a4b53d905a1679d4f30c88c98d;p=akkoma Use proper deleted object for removing from index --- diff --git a/lib/pleroma/web/activity_pub/side_effects.ex b/lib/pleroma/web/activity_pub/side_effects.ex index 98911f28f..097afa30e 100644 --- a/lib/pleroma/web/activity_pub/side_effects.ex +++ b/lib/pleroma/web/activity_pub/side_effects.ex @@ -325,7 +325,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do if result == :ok do Notification.create_notifications(object) - Pleroma.Search.remove_from_index(object) + Pleroma.Search.remove_from_index(deleted_object) {:ok, object, meta} else