diff --git a/src/user/digest.js b/src/user/digest.js index 93e3d3332a..885dfd69c4 100644 --- a/src/user/digest.js +++ b/src/user/digest.js @@ -103,7 +103,7 @@ Digest.send = async function (data) { await batch.processArray(data.subscribers, async (uids) => { let userData = await user.getUsersFields(uids, ['uid', 'email', 'email:confirmed', 'username', 'userslug', 'lastonline']); - userData = userData.filter(u => u && u.email && (!meta.config.requireEmailConfirmation || userData['email:confirmed'])); + userData = userData.filter(u => u && u.email && (!meta.config.requireEmailConfirmation || u['email:confirmed'])); if (!userData.length) { return; }