1
0

common_fixes: Force inserting context and context_id

This commit is contained in:
Haelwenn (lanodan) Monnier
2020-08-25 02:18:33 +02:00
parent a142da3e4f
commit b960cede9a
@@ -11,8 +11,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.CommonFixes do
Utils.create_context(data["context"] || data["conversation"])
data
|> 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