1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Config.Helpers do
8 def instance_name, do: Config.get([:instance, :name])
10 defp instance_notify_email do
11 Config.get([:instance, :notify_email]) || Config.get([:instance, :email])
15 {instance_name(), instance_notify_email()}