mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 20:06:18 +08:00
FIX: discourse-follow notification types (#19513)
Bring information about discourse-follow notification types to Core https://github.com/discourse/discourse-follow/blob/main/plugin.rb#L32
This commit is contained in:
parent
6b9c0ee554
commit
a6edd6ea61
|
@ -140,6 +140,9 @@ class Notification < ActiveRecord::Base
|
|||
question_answer_user_commented: 35, # Used by https://github.com/discourse/discourse-question-answer
|
||||
watching_category_or_tag: 36,
|
||||
new_features: 37,
|
||||
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
|
||||
)
|
||||
end
|
||||
|
||||
|
|
|
@ -118,6 +118,15 @@
|
|||
},
|
||||
"question_answer_user_commented": {
|
||||
"type": "integer"
|
||||
},
|
||||
"following": {
|
||||
"type": "integer"
|
||||
},
|
||||
"following_created_topic": {
|
||||
"type": "integer"
|
||||
},
|
||||
"following_replied": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
Loading…
Reference in New Issue
Block a user