1
0
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:
Essem 2024-10-03 15:14:19 -05:00
parent 8afbeda3d4
commit df180eddc6
No known key found for this signature in database
GPG Key ID: 7D497397CC3A2A8C

View File

@ -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)