Skip to content

A platform for community discussion. Free, open, simple.

FIX: Add watching_first_post to NOTIFIABLE_TYPES (#6887)

Angus McLeod79eb1b8e1629
diff --git a/app/services/post_alerter.rb b/app/services/post_alerter.rb
index 1ee5a839d75..ecd1af37a91 100644
--- a/app/services/post_alerter.rb
+++ b/app/services/post_alerter.rb
@@ -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]
}