logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: e33360fdb958708661a5bda415b9f06b5e1290d5
parent 935ef21b0285975b08037827a33f32bfcbbff951
Author: Mark Felder <feld@FreeBSD.org>
Date:   Thu, 24 Sep 2020 18:23:47 -0500

Cannot use batches with User.try_send_confirmation_email/1

Diffstat:

Mlib/mix/tasks/pleroma/email.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/mix/tasks/pleroma/email.ex b/lib/mix/tasks/pleroma/email.ex @@ -31,7 +31,7 @@ defmodule Mix.Tasks.Pleroma.Email do confirmation_pending: true, invisible: false }) - |> Pleroma.Repo.chunk_stream(500, :batches) + |> Pleroma.Repo.chunk_stream(500) |> Stream.each(&Pleroma.User.try_send_confirmation_email(&1)) |> Stream.run() end