mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 05:04:49 +00:00
Merge branch 'remake-remodel-2' of git.pleroma.social:pleroma/pleroma into remake-remodel-2
This commit is contained in:
commit
51fc504705
1 changed files with 2 additions and 2 deletions
|
@ -1267,7 +1267,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp maybe_add_context_from_object(_) do
|
defp maybe_add_context_from_object(_) do
|
||||||
{:error, "No referenced object"}
|
{:error, :no_context}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp maybe_add_recipients_from_object(%{"object" => object} = data) do
|
defp maybe_add_recipients_from_object(%{"object" => object} = data) do
|
||||||
|
@ -1291,6 +1291,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp maybe_add_recipients_from_object(_) do
|
defp maybe_add_recipients_from_object(_) do
|
||||||
{:error, "No referenced object"}
|
{:error, :no_object}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue