aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/emails/user_email.ex
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-12-12 17:30:08 +0300
committerMark Felder <feld@FreeBSD.org>2020-12-14 11:02:32 -0600
commitcebe3c7deff87ba24f43efcf50499c45d3b3e3f9 (patch)
tree30a66e6e7077496a124848b7dc011155fb0e914e /lib/pleroma/emails/user_email.ex
parentf687befb93a9ad2c3dc61f47bdbb717cb1421ad5 (diff)
downloadpleroma-cebe3c7deff87ba24f43efcf50499c45d3b3e3f9.tar.gz
Fix for dropping posts/notifs in WS when mix task is executed
- start oban in mix tasks with empty queues, plugins and crontab - fix for update_users_following_followers_counts - fix for removed logo.png - typo in resend confirmation emails mix task docs - fix for uploads mix task (start Majic.Pool) - fix for creating user mix task (start :fast_html app)
Diffstat (limited to 'lib/pleroma/emails/user_email.ex')
-rw-r--r--lib/pleroma/emails/user_email.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/emails/user_email.ex b/lib/pleroma/emails/user_email.ex
index 806a61fd2..e6829b862 100644
--- a/lib/pleroma/emails/user_email.ex
+++ b/lib/pleroma/emails/user_email.ex
@@ -151,7 +151,7 @@ defmodule Pleroma.Emails.UserEmail do
logo_path =
if is_nil(logo) do
- Path.join(:code.priv_dir(:pleroma), "static/static/logo.png")
+ Path.join(:code.priv_dir(:pleroma), "static/static/logo.svg")
else
Path.join(Config.get([:instance, :static_dir]), logo)
end
@@ -162,7 +162,7 @@ defmodule Pleroma.Emails.UserEmail do
|> subject("Your digest from #{instance_name()}")
|> put_layout(false)
|> render_body("digest.html", html_data)
- |> attachment(Swoosh.Attachment.new(logo_path, filename: "logo.png", type: :inline))
+ |> attachment(Swoosh.Attachment.new(logo_path, filename: "logo.svg", type: :inline))
end
end