fix: #9619, add group chat filter to /notifications

This commit is contained in:
Barış Soner Uşaklı
2021-06-21 10:02:18 -04:00
parent 2700f7175e
commit c92fc19b5c
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
"topics": "Topics",
"replies": "Replies",
"chat": "Chats",
"group-chat": "Group Chats",
"follows": "Follows",
"upvote": "Upvotes",
"new-flags": "New Flags",

View File

@@ -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' },
];