projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7aa0b6
)
Apply suggestion to lib/pleroma/web/activity_pub/pipeline.ex
author
lain
<lain@soykaf.club>
Thu, 26 Mar 2020 14:45:28 +0000
(14:45 +0000)
committer
lain
<lain@soykaf.club>
Thu, 26 Mar 2020 14:45:28 +0000
(14:45 +0000)
lib/pleroma/web/activity_pub/pipeline.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/pipeline.ex
b/lib/pleroma/web/activity_pub/pipeline.ex
index 25f29bf636341d742bded4664c5c6b58aa533bc0..0068d60be69bc5ab861773e70892bd31430ba01d 100644
(file)
--- a/
lib/pleroma/web/activity_pub/pipeline.ex
+++ b/
lib/pleroma/web/activity_pub/pipeline.ex
@@
-22,6
+22,7
@@
defmodule Pleroma.Web.ActivityPub.Pipeline do
{_, {:ok, _}} <- {:federation, maybe_federate(activity, meta)} do
{:ok, activity, meta}
else
+ {:mrf_object, {:reject, _}} -> {:ok, nil, meta}
e -> {:error, e}
end
end