New mix tasks for controlling user confirmation status and sending confirmation mails
[akkoma] / lib / pleroma / web / activity_pub / object_validators / common_fixes.ex
index f13c16eca99c554f81a6bab350e4deab1c2e67a8..720213d7327de4ea019f5e1ee6fbe7796f1dae8e 100644 (file)
@@ -11,9 +11,8 @@ 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)
+    |> Map.put("context", context)
+    |> Map.put("context_id", context_id)
   end
 
   def fix_attribution(data) do