Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into issue/2115
[akkoma] / lib / pleroma / web / common_api / common_api.ex
index a8c83bc8febdd054331b061da253f6f53ab38d34..60a50b027f5c5981adc3406c0b086bdcff49e039 100644 (file)
@@ -48,6 +48,9 @@ defmodule Pleroma.Web.CommonAPI do
               local: true
             )} do
       {:ok, activity}
+    else
+      {:common_pipeline, {:reject, _} = e} -> e
+      e -> e
     end
   end