common_fixes: Remove Utils.make_date call
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Tue, 18 Aug 2020 00:12:13 +0000 (02:12 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Tue, 18 Aug 2020 00:24:48 +0000 (02:24 +0200)
lib/pleroma/web/activity_pub/object_validators/common_fixes.ex

index f13c16eca99c554f81a6bab350e4deab1c2e67a8..721749de0c5611d5fe29ccfb43d5732b5ac2c9ca 100644 (file)
@@ -11,7 +11,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.CommonFixes do
       Utils.create_context(data["context"] || data["conversation"])
 
     data
-    |> Map.put_new_lazy("published", &Utils.make_date/0)
     |> Map.put_new("context", context)
     |> Map.put_new("context_id", context_id)
   end