s/Pleroma.AdminEmail/Pleroma.Emails.AdminEmail/
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 10 Apr 2019 04:13:46 +0000 (06:13 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 10 Apr 2019 04:33:20 +0000 (06:33 +0200)
lib/pleroma/emails/admin_email.ex
lib/pleroma/web/activity_pub/activity_pub.ex

index afefccec5e2b928149c6ad30c902a7d07dc1f3fa..d6ecce489a9a31b2200cbc78aa3daf7da8ff6fc1 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.AdminEmail do
+defmodule Pleroma.Emails.AdminEmail do
   @moduledoc "Admin emails"
 
   import Swoosh.Email
index 749c38e913bbeb53b410d798e798009ca230d278..6110b0465b780081e0fe4942173662e2c6b6941b 100644 (file)
@@ -449,7 +449,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
          :ok <- maybe_federate(activity) do
       Enum.each(User.all_superusers(), fn superuser ->
         superuser
-        |> Pleroma.AdminEmail.report(actor, account, statuses, content)
+        |> Pleroma.Emails.AdminEmail.report(actor, account, statuses, content)
         |> Pleroma.Emails.Mailer.deliver_async()
       end)