diff --git a/install/data/defaults.json b/install/data/defaults.json index 73f46f5252..a0c97237ce 100644 --- a/install/data/defaults.json +++ b/install/data/defaults.json @@ -89,6 +89,7 @@ "notificationType_new-chat": "notification", "notificationType_new-group-chat": "notification", "notificationType_group-invite": "notification", + "notificationType_group-leave": "notification", "notificationType_group-request-membership": "notification", "notificationType_mention": "notification", "notificationType_new-register": "notification", diff --git a/public/language/en-GB/notifications.json b/public/language/en-GB/notifications.json index 92811490ff..0ec141d742 100644 --- a/public/language/en-GB/notifications.json +++ b/public/language/en-GB/notifications.json @@ -69,6 +69,7 @@ "notificationType_new-chat": "When you receive a chat message", "notificationType_new-group-chat": "When you receive a group chat message", "notificationType_group-invite": "When you receive a group invite", + "notificationType_group-leave": "When a user leaves your group", "notificationType_group-request-membership": "When someone requests to join a group you own", "notificationType_new-register": "When someone gets added to registration queue", "notificationType_post-queue": "When a new post is queued", diff --git a/src/notifications.js b/src/notifications.js index 11d3ac05c8..df0429c654 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -27,6 +27,7 @@ Notifications.baseTypes = [ 'notificationType_new-chat', 'notificationType_new-group-chat', 'notificationType_group-invite', + 'notificationType_group-leave', 'notificationType_group-request-membership', ];