From: Maxim Filippov Date: Fri, 22 Nov 2019 00:11:36 +0000 (+0900) Subject: Swap map with each X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b64c7b35d429546695550b37ca1e690b46c86f5d;p=akkoma Swap map with each --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index f031d2179..f1830509c 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -490,7 +490,7 @@ defmodule Pleroma.User do end def try_send_confirmation_email(users) do - Enum.map(users, &try_send_confirmation_email/1) + Enum.each(users, &try_send_confirmation_email/1) end def needs_update?(%User{local: true}), do: false