projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'cycles-frontend-static' into 'develop'
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
email.ex
diff --git
a/lib/mix/tasks/pleroma/email.ex
b/lib/mix/tasks/pleroma/email.ex
index bc5facc09655cbb234d43563b8e4176ba4cbfb92..4ce8c9b05fc7fc0f9ed48b60b4fdece26403c536 100644
(file)
--- a/
lib/mix/tasks/pleroma/email.ex
+++ b/
lib/mix/tasks/pleroma/email.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.Email do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.Email do
@@
-33,12
+33,12
@@
defmodule Mix.Tasks.Pleroma.Email do
Pleroma.User.Query.build(%{
local: true,
Pleroma.User.Query.build(%{
local: true,
-
deactivated: fals
e,
-
confirmation_pending: tru
e,
+
is_active: tru
e,
+
is_confirmed: fals
e,
invisible: false
})
|> Pleroma.Repo.chunk_stream(500)
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
|> Stream.run()
end
end