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

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 2700f7175e
commit c92fc19b5c

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

Loading…
Cancel
Save