Added the ability to upload background, logo, default user avatar, instance thumbnail, and the NSFW hiding image via AdminFE

This commit is contained in:
eugenijm 2020-04-12 22:54:43 +03:00
commit b7fc61e17b
7 changed files with 48 additions and 7 deletions

View file

@ -14,8 +14,10 @@ defmodule Pleroma.Emails.NewUsersDigestEmail do
styling = Pleroma.Config.get([Pleroma.Emails.UserEmail, :styling])
logo_url =
Pleroma.Web.Endpoint.url() <>
Pleroma.Config.get([:frontend_configurations, :pleroma_fe, :logo])
Pleroma.Helpers.UriHelper.maybe_add_base(
Pleroma.Config.get([:frontend_configurations, :pleroma_fe, :logo]),
Pleroma.Web.Endpoint.url()
)
new()
|> to({to.name, to.email})