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",
"replies": "Replies",
"chat": "Chats",
"group-chat": "Group Chats",
"follows": "Follows",
"upvote": "Upvotes",
"new-flags": "New Flags",

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

Loading…
Cancel
Save