Side Effects: On undoing, put information about the undone object.
[akkoma] / lib / pleroma / web / activity_pub / activity_pub.ex
index bc7b5d95a6925e98d5f67237d832f6be50322785..a4db1d87c42334432396e10ccc2cf6d41176a363 100644 (file)
@@ -1370,6 +1370,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
         Logger.debug("Could not decode user at fetch #{ap_id}, #{inspect(e)}")
         {:error, e}
 
+      {:error, {:reject, reason} = e} ->
+        Logger.info("Rejected user #{ap_id}: #{inspect(reason)}")
+        {:error, e}
+
       {:error, e} ->
         Logger.error("Could not decode user at fetch #{ap_id}, #{inspect(e)}")
         {:error, e}