1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-18 00:46:40 +01:00

Merge branch 'remake-remodel-2' of git.pleroma.social:pleroma/pleroma into remake-remodel-2

This commit is contained in:
lain 2020-03-31 19:06:08 +02:00
commit 51fc504705

View File

@ -1267,7 +1267,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
end
defp maybe_add_context_from_object(_) do
{:error, "No referenced object"}
{:error, :no_context}
end
defp maybe_add_recipients_from_object(%{"object" => object} = data) do
@ -1291,6 +1291,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
end
defp maybe_add_recipients_from_object(_) do
{:error, "No referenced object"}
{:error, :no_object}
end
end