From c92fc19b5cfaaa08483e4cff85be77bb464dc1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 21 Jun 2021 10:02:18 -0400 Subject: [PATCH] fix: #9619, add group chat filter to /notifications --- public/language/en-GB/notifications.json | 1 + src/controllers/accounts/notifications.js | 1 + 2 files changed, 2 insertions(+) diff --git a/public/language/en-GB/notifications.json b/public/language/en-GB/notifications.json index 33014b5c80..1c84cb641e 100644 --- a/public/language/en-GB/notifications.json +++ b/public/language/en-GB/notifications.json @@ -16,6 +16,7 @@ "topics": "Topics", "replies": "Replies", "chat": "Chats", + "group-chat": "Group Chats", "follows": "Follows", "upvote": "Upvotes", "new-flags": "New Flags", diff --git a/src/controllers/accounts/notifications.js b/src/controllers/accounts/notifications.js index f6481c8a5f..75c501b1ce 100644 --- a/src/controllers/accounts/notifications.js +++ b/src/controllers/accounts/notifications.js @@ -13,6 +13,7 @@ notificationsController.get = async function (req, res, next) { { name: '[[global:topics]]', filter: 'new-topic' }, { name: '[[notifications:replies]]', filter: 'new-reply' }, { name: '[[notifications:chat]]', filter: 'new-chat' }, + { name: '[[notifications:group-chat]]', filter: 'new-group-chat' }, { name: '[[notifications:follows]]', filter: 'follow' }, { name: '[[notifications:upvote]]', filter: 'upvote' }, ];