mirror of
https://github.com/funamitech/mastodon
synced 2024-11-30 15:58:28 +09:00
Align mail status check with upstream
This commit is contained in:
parent
8afbeda3d4
commit
df180eddc6
@ -42,7 +42,7 @@ class NotificationMailer < ApplicationMailer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def reaction
|
def reaction
|
||||||
return unless @user.functional? && @status.present?
|
return if @status.blank?
|
||||||
|
|
||||||
locale_for_account(@me) do
|
locale_for_account(@me) do
|
||||||
mail subject: default_i18n_subject(name: @account.acct)
|
mail subject: default_i18n_subject(name: @account.acct)
|
||||||
|
Loading…
Reference in New Issue
Block a user