Commit 51fc5047 authored by lain's avatar lain
Browse files

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

parents 057438a6 288f2b5a
......@@ -1267,7 +1267,7 @@ defp maybe_add_context_from_object(%{"object" => object} = data) when is_binary(
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 @@ defp maybe_add_recipients_from_object(%{"object" => object} = data) do
end
defp maybe_add_recipients_from_object(_) do
{:error, "No referenced object"}
{:error, :no_object}
end
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment