From: lain Date: Tue, 31 Mar 2020 17:00:55 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=288f2b5a7c728959d43205a97d5225b34b5b8161;p=akkoma Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex --- diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index fb41ec8e9..a3529f09b 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -1267,7 +1267,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do end defp maybe_add_context_from_object(_) do - {:error, "No referenced object"} + {:error, :no_context} end defp maybe_add_recipients_from_object(%{"object" => object} = data) do