DEV: Bump rubocop_discourse (#29608)

This commit is contained in:
Alan Guo Xiang Tan
2024-11-06 06:27:49 +08:00
committed by GitHub
parent ff494f2f94
commit 57f4176b57
64 changed files with 192 additions and 192 deletions

View File

@@ -75,7 +75,7 @@ class NotificationEmailer
private
EMAILABLE_POST_TYPES ||= Set.new [Post.types[:regular], Post.types[:whisper]]
EMAILABLE_POST_TYPES = Set.new [Post.types[:regular], Post.types[:whisper]]
def enqueue(type, delay = default_delay)
return if notification.user.user_option.email_level == UserOption.email_level_types[:never]

View File

@@ -517,7 +517,7 @@ class PostAlerter
end
end
COLLAPSED_NOTIFICATION_TYPES ||= [
COLLAPSED_NOTIFICATION_TYPES = [
Notification.types[:replied],
Notification.types[:posted],
Notification.types[:private_message],