You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/DigestSender.php is fetching users via $this->config->getUsersForUserValue('activity', 'notify_setting_activity_digest', '1');. This does not exclude disabled users on either side. Is this an oversight, or is the assumption that notify_setting_activity_digest should be disabled for disabled users?
// User is disabled so do not send the email but update last sent since after enabling avoid flooding
$this->updateLastSentForUser($userObject, $now);
continue;
But just noticed that someone else (Hi @yemkareems!) happens to have fixed this (via #1803) shortly after your original report so that's where that code comes from. :)
Activity
[-]Digests are sent even for disabled users[/-][+]Digests recipient selection[/+]joshtrichards commentedon Jan 23, 2025
I was about to respond that I see a check a bit farther down the code path that does check for disabled users:
activity/lib/DigestSender.php
Lines 73 to 76 in 0b12297
But just noticed that someone else (Hi @yemkareems!) happens to have fixed this (via #1803) shortly after your original report so that's where that code comes from. :)
So, yes, good catch and I think we're good now.