CreateGenericValidator: add expires_at

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-06-19 23:43:36 +02:00
commit fe6924d00d
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 3 additions and 0 deletions

View file

@ -139,6 +139,8 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
# - Rollback if we couldn't create it
# - Increase the user note count
# - Increase the reply count
# - Increase replies count
# - Set up ActivityExpiration
# - Set up notifications
def handle(%{data: %{"type" => "Create"}} = activity, meta) do
with {:ok, object, meta} <- handle_object_creation(meta[:object_data], meta),