mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-11 09:45:25 +00:00
Apply suggestion to lib/pleroma/web/activity_pub/pipeline.ex
This commit is contained in:
parent
d7aa0b645b
commit
69fc1dd69f
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ defmodule Pleroma.Web.ActivityPub.Pipeline do
|
||||||
{_, {:ok, _}} <- {:federation, maybe_federate(activity, meta)} do
|
{_, {:ok, _}} <- {:federation, maybe_federate(activity, meta)} do
|
||||||
{:ok, activity, meta}
|
{:ok, activity, meta}
|
||||||
else
|
else
|
||||||
|
{:mrf_object, {:reject, _}} -> {:ok, nil, meta}
|
||||||
e -> {:error, e}
|
e -> {:error, e}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue