mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-16 01:20:10 +02:00
fixer or in jobs and users redefinition
This commit is contained in:
@@ -54,7 +54,7 @@ module.exports = function(User) {
|
||||
});
|
||||
|
||||
// Find only those users who have not been online in the past 24 hours
|
||||
var users = recipients.filter(function(userObj) {
|
||||
users = recipients.filter(function(userObj) {
|
||||
return subscribed.indexOf(userObj.uid) !== -1 && yesterday > parseInt(userObj.lastonline, 10);
|
||||
});
|
||||
|
||||
@@ -74,7 +74,7 @@ module.exports = function(User) {
|
||||
subject: '[' + meta.config.title + '] Daily Digest for ' + now.getFullYear()+ '/' + (now.getMonth()+1) + '/' + now.getDate(),
|
||||
username: userObj.username,
|
||||
url: nconf.get('url'),
|
||||
site_title: meta.config.title | meta.config.browserTitle | 'NodeBB',
|
||||
site_title: meta.config.title || meta.config.browserTitle || 'NodeBB',
|
||||
notifications: notifications,
|
||||
recent: data.recent.topics
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user