Commit 4f03bb22 authored by kaniini's avatar kaniini
Browse files

Merge branch 'bugfix/fix-mrf-reject-match' into 'develop'

activitypub: fix error condition match

See merge request pleroma/pleroma!365
parents ab2e5ba9 4db1bc2c
Pipeline #3901 passed with stages
in 6 minutes and 4 seconds
......@@ -756,7 +756,7 @@ def fetch_object_from_id(id) do
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
{:ok, Object.normalize(["object"])}
{:reject, nil} ->
{:error, {:reject, nil}} ->
{:reject, nil}
object = %Object{} ->
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