mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Bump rubocop_discourse (#29608)
This commit is contained in:
committed by
GitHub
parent
ff494f2f94
commit
57f4176b57
@@ -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]
|
||||
|
||||
@@ -517,7 +517,7 @@ class PostAlerter
|
||||
end
|
||||
end
|
||||
|
||||
COLLAPSED_NOTIFICATION_TYPES ||= [
|
||||
COLLAPSED_NOTIFICATION_TYPES = [
|
||||
Notification.types[:replied],
|
||||
Notification.types[:posted],
|
||||
Notification.types[:private_message],
|
||||
|
||||
Reference in New Issue
Block a user