Skip to content

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

DEV: Add chat invitation notification type (#15288)

Mark VanLandingham175ced509697
diff --git a/app/models/notification.rb b/app/models/notification.rb
index 2b8fd37eb00..2b564db806f 100644
--- a/app/models/notification.rb
+++ b/app/models/notification.rb
@@ -108,6 +108,7 @@ class Notification < ActiveRecord::Base
event_invitation: 28,
chat_mention: 29,
chat_message: 30,
+ chat_invitation: 31
)
end
diff --git a/spec/requests/api/schemas/json/site_response.json b/spec/requests/api/schemas/json/site_response.json
index ce4bb9c6f1c..f9d09bc9fd7 100644
--- a/spec/requests/api/schemas/json/site_response.json
+++ b/spec/requests/api/schemas/json/site_response.json
@@ -97,6 +97,9 @@
},
"chat_message": {
"type": "integer"
+ },
+ "chat_invitation": {
+ "type": "integer"
}
},
"required": [