Merge branch 'bugfix/fix-mrf-reject-match' into 'develop'
activitypub: fix error condition match See merge request pleroma/pleroma!365
This commit is contained in:
commit
4f03bb2299
@ -756,7 +756,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||||||
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
|
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
|
||||||
{:ok, Object.normalize(activity.data["object"])}
|
{:ok, Object.normalize(activity.data["object"])}
|
||||||
else
|
else
|
||||||
{:reject, nil} ->
|
{:error, {:reject, nil}} ->
|
||||||
{:reject, nil}
|
{:reject, nil}
|
||||||
|
|
||||||
object = %Object{} ->
|
object = %Object{} ->
|
||||||
|
Loading…
Reference in New Issue
Block a user