We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 28e00989 authored by Brion Vibber's avatar Brion Vibber

Fix for ticket #2852: skip sending favorite notification emails if the...

Fix for ticket #2852: skip sending favorite notification emails if the favoriter is someone you've blocked.
parent 51a756c2
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment