Don't bundle new notifications is bundling is disabled

This commit is contained in:
Jorge Manrubia
2025-08-28 12:53:19 +02:00
parent 4e2717a61f
commit 960f074b3f
3 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -43,6 +43,6 @@ class Notification < ApplicationRecord
end
def bundle
user.bundle(self)
user.bundle(self) if user.settings.bundling_emails?
end
end