A platform for community discussion. Free, open, simple.
DEV: Reserve notification type and push icon for the resenha plugin (#42585)
Rafael dos Santos Silva2e09cf5af8cd
diff --git a/app/assets/images/push-notifications/resenha_invitation.png b/app/assets/images/push-notifications/resenha_invitation.pngnew file mode 100644index 00000000000..a40d64fc3e0Binary files /dev/null and b/app/assets/images/push-notifications/resenha_invitation.png differdiff --git a/app/models/notification.rb b/app/models/notification.rbindex aaca1834a30..e9784b2e3ab 100644--- a/app/models/notification.rb+++ b/app/models/notification.rb@@ -175,6 +175,7 @@ class Notification < ActiveRecord::Basefollowing_created_topic: 801, # Used by https://github.com/discourse/discourse-followfollowing_replied: 802, # Used by https://github.com/discourse/discourse-followcircles_activity: 900, # Used by https://github.com/discourse/discourse-circles+ resenha_invitation: 1000, # Used by https://github.com/discourse/resenha)enddiff --git a/spec/requests/api/schemas/json/site_response.json b/spec/requests/api/schemas/json/site_response.jsonindex cc1599b818f..4ff7270f585 100644--- a/spec/requests/api/schemas/json/site_response.json+++ b/spec/requests/api/schemas/json/site_response.json@@ -154,6 +154,9 @@},"suggested_edit_accepted": {"type": "integer"+ },+ "resenha_invitation": {+ "type": "integer"}},"required": [