mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #9619, add group chat filter to /notifications
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
"topics": "Topics",
|
"topics": "Topics",
|
||||||
"replies": "Replies",
|
"replies": "Replies",
|
||||||
"chat": "Chats",
|
"chat": "Chats",
|
||||||
|
"group-chat": "Group Chats",
|
||||||
"follows": "Follows",
|
"follows": "Follows",
|
||||||
"upvote": "Upvotes",
|
"upvote": "Upvotes",
|
||||||
"new-flags": "New Flags",
|
"new-flags": "New Flags",
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ notificationsController.get = async function (req, res, next) {
|
|||||||
{ name: '[[global:topics]]', filter: 'new-topic' },
|
{ name: '[[global:topics]]', filter: 'new-topic' },
|
||||||
{ name: '[[notifications:replies]]', filter: 'new-reply' },
|
{ name: '[[notifications:replies]]', filter: 'new-reply' },
|
||||||
{ name: '[[notifications:chat]]', filter: 'new-chat' },
|
{ name: '[[notifications:chat]]', filter: 'new-chat' },
|
||||||
|
{ name: '[[notifications:group-chat]]', filter: 'new-group-chat' },
|
||||||
{ name: '[[notifications:follows]]', filter: 'follow' },
|
{ name: '[[notifications:follows]]', filter: 'follow' },
|
||||||
{ name: '[[notifications:upvote]]', filter: 'upvote' },
|
{ name: '[[notifications:upvote]]', filter: 'upvote' },
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user