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

Reserved an ID to be used by notifications generated on the `discourse-circles` plugin.
This commit is contained in:
Sérgio Saquetim 2023-01-12 14:07:42 -03:00 committed by GitHub
parent 192d8c25e6
commit 8fd9a93a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -127,6 +127,9 @@
},
"following_replied": {
"type": "integer"
},
"circles_activity": {
"type": "integer"
}
},
"required": [