FIX: Add watching_first_post to NOTIFIABLE_TYPES (#6887)

This commit is contained in:
Angus McLeod 2019-01-16 22:49:15 +11:00 committed by David Taylor
parent 54f95bb335
commit 79eb1b8e16

View File

@ -193,7 +193,7 @@ class PostAlerter
end
end
NOTIFIABLE_TYPES = [:mentioned, :replied, :quoted, :posted, :linked, :private_message, :group_mentioned].map { |t|
NOTIFIABLE_TYPES = [:mentioned, :replied, :quoted, :posted, :linked, :private_message, :group_mentioned, :watching_first_post].map { |t|
Notification.types[t]
}