aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-08-03 18:41:49 -0500
committerMark Felder <feld@feld.me>2021-06-01 11:49:16 -0500
commit4a181982c34c774c9ed4b76ce1d95f6c33fce9d5 (patch)
treecb3c47bff34f8a4fb02a738cbb24c5565df16a96 /lib/pleroma
parenta3cff596592ae70701afae2e293eab03fe5408df (diff)
downloadpleroma-4a181982c34c774c9ed4b76ce1d95f6c33fce9d5.tar.gz
More confusingly named legacy chat code renamed to shout
Diffstat (limited to 'lib/pleroma')
-rw-r--r--lib/pleroma/application.ex8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex
index afb8cfb8a..9824e0a4a 100644
--- a/lib/pleroma/application.ex
+++ b/lib/pleroma/application.ex
@@ -102,7 +102,7 @@ defmodule Pleroma.Application do
] ++
task_children(@mix_env) ++
dont_run_in_test(@mix_env) ++
- chat_child(chat_enabled?()) ++
+ shout_child(shout_enabled?()) ++
[Pleroma.Gopher.Server]
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
@@ -216,7 +216,7 @@ defmodule Pleroma.Application do
type: :worker
}
- defp chat_enabled?, do: Config.get([:chat, :enabled])
+ defp shout_enabled?, do: Config.get([:shout, :enabled])
defp dont_run_in_test(env) when env in [:test, :benchmark], do: []
@@ -237,14 +237,14 @@ defmodule Pleroma.Application do
]
end
- defp chat_child(true) do
+ defp shout_child(true) do
[
Pleroma.Web.ShoutChannel.ShoutChannelState,
{Phoenix.PubSub, [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2]}
]
end
- defp chat_child(_), do: []
+ defp shout_child(_), do: []
defp task_children(:test) do
[