Use proper deleted object for removing from index
This commit is contained in:
parent
95cb2bb694
commit
cf558208c2
@ -330,7 +330,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
|
|||||||
if result == :ok do
|
if result == :ok do
|
||||||
Notification.create_notifications(object)
|
Notification.create_notifications(object)
|
||||||
|
|
||||||
Pleroma.Search.remove_from_index(object)
|
Pleroma.Search.remove_from_index(deleted_object)
|
||||||
|
|
||||||
{:ok, object, meta}
|
{:ok, object, meta}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user