This commit is contained in:
Baris Usakli
2018-12-18 13:55:58 -05:00
parent ddd07c1a9d
commit f4ea2c43ab
3 changed files with 3 additions and 0 deletions

View File

@@ -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',