Skip to content

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

DEV: Added notification type for 'discourse-circles' (#19834)

Sérgio Saquetim8fd9a93a1a82
diff --git a/app/models/notification.rb b/app/models/notification.rb
index f8aeab2b73d..86ec8057ac5 100644
--- a/app/models/notification.rb
+++ b/app/models/notification.rb
@@ -155,6 +155,7 @@ class Notification < ActiveRecord::Base
following: 800, # Used by https://github.com/discourse/discourse-follow
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
)
end
diff --git a/spec/requests/api/schemas/json/site_response.json b/spec/requests/api/schemas/json/site_response.json
index 09d239f4322..78f03880efe 100644
--- a/spec/requests/api/schemas/json/site_response.json
+++ b/spec/requests/api/schemas/json/site_response.json
@@ -127,6 +127,9 @@
},
"following_replied": {
"type": "integer"
+ },
+ "circles_activity": {
+ "type": "integer"
}
},
"required": [