expiration for new pipeline

This commit is contained in:
Alexander Strizhakov 2020-09-03 17:56:20 +03:00 committed by rinpatch
commit 357d971a10
2 changed files with 12 additions and 13 deletions

View file

@ -187,13 +187,6 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
Object.increase_replies_count(in_reply_to)
end
if expires_at = activity.data["expires_at"] do
Pleroma.Workers.PurgeExpiredActivity.enqueue(%{
activity_id: activity.id,
expires_at: expires_at
})
end
BackgroundWorker.enqueue("fetch_data_for_activity", %{"activity_id" => activity.id})
meta =