Node.js based forum software built for the modern web
fix: #9619, add group chat filter to /notifications
Barış Soner Uşaklıc92fc19b5cfa
diff --git a/public/language/en-GB/notifications.json b/public/language/en-GB/notifications.jsonindex 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.jsindex 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' },];