DEV: Add chat_group_mention notification type (#15616)

This commit is contained in:
Mark VanLandingham 2022-01-18 08:26:27 -06:00 committed by GitHub
parent bcc148556f
commit fcc80137ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -33,4 +33,6 @@ export const NOTIFICATION_TYPES = {
event_invitation: 28, event_invitation: 28,
chat_mention: 29, chat_mention: 29,
chat_message: 30, chat_message: 30,
chat_invitation: 31,
chat_group_mention: 32,
}; };

View File

@ -108,7 +108,8 @@ class Notification < ActiveRecord::Base
event_invitation: 28, event_invitation: 28,
chat_mention: 29, chat_mention: 29,
chat_message: 30, chat_message: 30,
chat_invitation: 31 chat_invitation: 31,
chat_group_mention: 32
) )
end end

View File

@ -100,6 +100,9 @@
}, },
"chat_invitation": { "chat_invitation": {
"type": "integer" "type": "integer"
},
"chat_group_mention": {
"type": "integer"
} }
}, },
"required": [ "required": [
@ -131,7 +134,10 @@
"votes_released", "votes_released",
"event_reminder", "event_reminder",
"event_invitation", "event_invitation",
"chat_mention" "chat_mention",
"chat_message",
"chat_invitation",
"chat_group_mention"
] ]
}, },
"post_types": { "post_types": {