aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-09-21 17:08:49 -0500
committerMark Felder <feld@FreeBSD.org>2020-09-21 17:08:49 -0500
commite5927e92a641a799f9b4e89466374be3c76c4ef2 (patch)
tree5dd33fb810527f255bbec55c80e668cb53be7e06
parentd65e6e152acd772bd75435619a36accfec86555f (diff)
downloadpleroma-e5927e92a641a799f9b4e89466374be3c76c4ef2.tar.gz
Fix deprecation warning for welcome message
-rw-r--r--lib/pleroma/config/deprecation_warnings.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/config/deprecation_warnings.ex b/lib/pleroma/config/deprecation_warnings.ex
index 98c4dc9c8..51ddb2889 100644
--- a/lib/pleroma/config/deprecation_warnings.ex
+++ b/lib/pleroma/config/deprecation_warnings.ex
@@ -83,9 +83,9 @@ defmodule Pleroma.Config.DeprecationWarnings do
if use_old_config do
Logger.error("""
!!!DEPRECATION WARNING!!!
- Your config is using the old namespace for Welcome messages configuration. You need to change to the new namespace:
- \n* `config :pleroma, :instance, welcome_user_nickname` is now `config :pleroma, :welcome, :direct_message, :sender_nickname`
- \n* `config :pleroma, :instance, welcome_message` is now `config :pleroma, :welcome, :direct_message, :message`
+ Your config is using the old namespace for Welcome messages configuration. You need to convert to the new namespace. e.g.,
+ \n* `config :pleroma, :instance, welcome_user_nickname` and `config :pleroma, :instance, welcome_message` are now equal to:
+ \n* `config :pleroma, :welcome, direct_message: [enabled: true, sender_nickname: "NICKNAME", message: "Your welcome message"]`"
""")
:error