diff options
Diffstat (limited to 'lib/mail.php')
-rw-r--r-- | lib/mail.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mail.php b/lib/mail.php index 30d743848..dd6a1a366 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -593,6 +593,10 @@ function mail_notify_fave($other, $user, $notice) } $profile = $user->getProfile(); + if ($other->hasBlocked($profile)) { + // If the author has blocked us, don't spam them with a notification. + return; + } $bestname = $profile->getBestName(); |