Skip to content

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

Discourse boosts (#38607)

Joffrey JAFFEUX0dd6e0d6d58a
diff --git a/app/models/notification.rb b/app/models/notification.rb
index 513dfd4cffe..b15c6eea1b8 100644
--- a/app/models/notification.rb
+++ b/app/models/notification.rb
@@ -167,6 +167,7 @@ class Notification < ActiveRecord::Base
following_created_topic: 801, # Used by https://github.com/discourse/discourse-follow
following_replied: 802, # Used by https://github.com/discourse/discourse-follow
circles_activity: 900, # Used by https://github.com/discourse/discourse-circles
+ boost: 43, # Used by https://github.com/discourse/discourse-boosts
)
end
diff --git a/spec/requests/api/schemas/json/site_response.json b/spec/requests/api/schemas/json/site_response.json
index 606e6090d0d..ecd53558703 100644
--- a/spec/requests/api/schemas/json/site_response.json
+++ b/spec/requests/api/schemas/json/site_response.json
@@ -145,6 +145,9 @@
},
"circles_activity": {
"type": "integer"
+ },
+ "boost": {
+ "type": "integer"
}
},
"required": [