From 755685308d55400ea1af7817a1781a4b3b888806 Mon Sep 17 00:00:00 2001
From: "Yuya.Nishida." <yuya@j96.org>
Date: Wed, 19 Mar 2025 15:06:45 +0900
Subject: [PATCH] refactor: remove extra condition

---
 app/models/user.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/user.rb b/app/models/user.rb
index 4ce63f809..02505906b 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -815,7 +815,7 @@ def own_account_deletable?
   def notify_about?(object)
     if mail_notification == 'all'
       true
-    elsif mail_notification.blank? || mail_notification == 'none'
+    elsif mail_notification == 'none'
       false
     else
       case object
-- 
2.49.0

