aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Suprunenko <suprunenko.s@gmail.com>2019-08-03 18:12:38 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-08-14 01:50:21 +0000
commit1310cdc24f31b8fb6858b0c70514a4e316638dbe (patch)
treea06e03e0bb614aa4428996af7bb71e0215b317dc /lib
parent54d4ceec5ce82ecea8bfd2fade7e618feca8a211 (diff)
downloadpleroma-1310cdc24f31b8fb6858b0c70514a4e316638dbe.tar.gz
Handle MRF rejections of incoming AP activities
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex
index fd5521c98..fcecbe21d 100644
--- a/lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/lib/pleroma/web/activity_pub/activity_pub.ex
@@ -274,6 +274,9 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
else
{:fake, true, activity} ->
{:ok, activity}
+
+ {:error, message} ->
+ {:error, message}
end
end