projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Force 204 responses to be empty, fixes #2029
[akkoma]
/
lib
/
pleroma
/
user
/
welcome_email.ex
diff --git
a/lib/pleroma/user/welcome_email.ex
b/lib/pleroma/user/welcome_email.ex
index 91a9591ddccd5fef2081f825947bf8b4823a366a..5322000d4f6bd7fe1fd3e9e8c94fcdb39b18b0e5 100644
(file)
--- a/
lib/pleroma/user/welcome_email.ex
+++ b/
lib/pleroma/user/welcome_email.ex
@@
-11,7
+11,7
@@
defmodule Pleroma.User.WelcomeEmail do
alias Pleroma.Emails
alias Pleroma.User
- import Pleroma.Config.
Util
s, only: [instance_name: 0]
+ import Pleroma.Config.
Helper
s, only: [instance_name: 0]
@spec enabled?() :: boolean()
def enabled?, do: Config.get([:welcome, :email, :enabled], false)