diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-09-30 05:25:28 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-09-30 05:26:13 +0000 |
commit | 4db1bc2c0ebbeca592b7bbe300782420ee08c304 (patch) | |
tree | 956c42ad1880027acbd0ea46f0aa4f5b6cad1e56 | |
parent | dbc9feecbf11b696e984b40cbdf9ccde69cf469c (diff) | |
download | pleroma-4db1bc2c0ebbeca592b7bbe300782420ee08c304.tar.gz |
activitypub: fix error condition match
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index e03e7c471..fc191addf 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -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{} -> |