summaryrefslogtreecommitdiff
path: root/lib/mix/tasks
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-02-04 14:33:49 -0600
committerMark Felder <feld@feld.me>2021-02-04 14:33:49 -0600
commitaf37a5c51a3984d8e5ddbe5978b8c3edb7f9bbc2 (patch)
tree42fcf8cbffcb8b5d5929d6140465db70770d427f /lib/mix/tasks
parentb22b12f73813b9c46701cac84cfe3a21a5ceacca (diff)
downloadpleroma-af37a5c51a3984d8e5ddbe5978b8c3edb7f9bbc2.tar.gz
pleroma-af37a5c51a3984d8e5ddbe5978b8c3edb7f9bbc2.zip
Also make this maybe_ for consistency
Diffstat (limited to 'lib/mix/tasks')
-rw-r--r--lib/mix/tasks/pleroma/email.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/email.ex b/lib/mix/tasks/pleroma/email.ex
index e05c207e5..4ce8c9b05 100644
--- a/lib/mix/tasks/pleroma/email.ex
+++ b/lib/mix/tasks/pleroma/email.ex
@@ -38,7 +38,7 @@ defmodule Mix.Tasks.Pleroma.Email do
invisible: false
})
|> Pleroma.Repo.chunk_stream(500)
- |> Stream.each(&Pleroma.User.try_send_confirmation_email(&1))
+ |> Stream.each(&Pleroma.User.maybe_send_confirmation_email(&1))
|> Stream.run()
end
end