Commit 4f03bb22 by kaniini

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

activitypub: fix error condition match See merge request !365
parents ab2e5ba9 4db1bc2c
Pipeline #3901 passed with stages
in 6 minutes 4 seconds
......@@ -756,7 +756,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
{:ok, Object.normalize(activity.data["object"])}
else
{:reject, nil} ->
{:error, {:reject, nil}} ->
{:reject, nil}
object = %Object{} ->
......
Markdown is supported
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