v1.18.x
Baris Usakli 6 years ago
parent ddd07c1a9d
commit f4ea2c43ab

@ -62,6 +62,7 @@
"notificationType_follow": "When someone starts following you",
"notificationType_new-chat": "When you receive a chat message",
"notificationType_group-invite": "When you receive a group invite",
"notificationType_group-request-membership": "When someone requests to join a group you own",
"notificationType_new-register": "When someone gets added to registration queue",
"notificationType_post-queue": "When a new post is queued",
"notificationType_new-post-flag": "When a post is flagged",

@ -20,6 +20,7 @@ module.exports = function (Groups) {
async.parallel({
notification: function (next) {
notifications.create({
type: 'group-request-membership',
bodyShort: '[[groups:request.notification_title, ' + username + ']]',
bodyLong: '[[groups:request.notification_text, ' + username + ', ' + groupName + ']]',
nid: 'group:' + groupName + ':uid:' + uid + ':request',

@ -24,6 +24,7 @@ Notifications.baseTypes = [
'notificationType_follow',
'notificationType_new-chat',
'notificationType_group-invite',
'notificationType_group-request-membership',
];
Notifications.privilegedTypes = [

Loading…
Cancel
Save